"be consistent" | |
PerlMonks |
Re^3: Object method prototypes?by Puny Human (Initiate) |
on Dec 14, 2007 at 01:39 UTC ( [id://656963]=note: print w/replies, xml ) | Need Help?? |
That works, as long as you don't mind creating and destroying an argument hash every time your method is called. Passing a hashref would avoid that, but unless you're writing performance-sensitive code it doesn't matter much.
In Section
Seekers of Perl Wisdom
|
|