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 studying the Monastery: (9)
As of 2014-09-21 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (175 votes), past polls