Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 contemplating the Monastery: (9)
As of 2014-11-24 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (141 votes), past polls