in reply to Re^2: Object method prototypes?
in thread Object method prototypes?
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Object method prototypes?
by mreece (Friar) on Dec 14, 2007 at 02:32 UTC | |
Re^4: Object method prototypes?
by ysth (Canon) on Dec 14, 2007 at 05:22 UTC | |
Re^4: Object method prototypes?
by blazar (Canon) on Dec 14, 2007 at 15:41 UTC |
In Section
Seekers of Perl Wisdom