Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Brief OO question

by chromatic (Archbishop)
on Oct 05, 2011 at 16:54 UTC ( #929839=note: print w/ replies, xml ) Need Help??


in reply to Brief OO question

You have to weigh the clarity of a named variable versus the efficiency of accessing @_ directly rather than shifting it off. It's a maintenance decision.

For my purposes, using something like Moose to avoid having to write accessors is worth it.


Improve your skills with Modern Perl: the free book.


Comment on Re: Brief OO question
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://929839]
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: (6)
As of 2015-03-02 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (21 votes), past polls