Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: $foo->bar = 14;

by Arien (Pilgrim)
on Dec 31, 2002 at 05:44 UTC ( #223264=note: print w/ replies, xml ) Need Help??


in reply to $foo->bar = 14;

And no,I don't like using the hash reference for my external API.

Which is exactly what you are doing when you think about it, isn't it? ;-) As a result using lvalue breaks encapsulation just as bad as allowing (the other, more common way of) direct access to your attributes.

As it is, I see no use for lvalue.

— Arien


Comment on Re: $foo->bar = 14;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2015-07-30 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls