Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Object method prototypes?

by ysth (Canon)
on Dec 14, 2007 at 05:22 UTC ( [id://656988]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Object method prototypes?
in thread Object method prototypes?

No, actually, passing a new anonymous hashref creates and destroys a hash with every call, while having a my %args in the method does not. (The space allocated for the lexical hash is retained across calls whenever possible.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-18 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found