Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Why isn't ->can() curried?

by hardburn (Abbot)
on Jan 20, 2003 at 17:04 UTC ( [id://228397]=note: print w/replies, xml ) Need Help??


in reply to Why isn't ->can() curried?

The current implementation allows you to do totally lame-brained things . . .

Those things things are allowed anyway. Remember: Perl allows you to do anything you want. There is no such thing as truly private data in Perl the same way it is in Java (for example). Perl's way of doing private data is to make it inconvieant to access with a little comment that says "anybody who uses this deserves what they get" :)

Replies are listed 'Best First'.
Re^2: Why isn't ->can() curried?
by diotalevi (Canon) on Jan 20, 2003 at 17:06 UTC

    But since this isn't about private data... Anyhow I've got no problem with people who can go grab or alter the object in the method. I just think the object should be there. Right now it's not. This is a completely different concern.


    Seeking Green geeks in Minnesota

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://228397]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-26 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found