Keep It Simple, Stupid | |
PerlMonks |
Re^2: Method Chaining and Accessorsby Moron (Curate) |
on Apr 05, 2007 at 12:49 UTC ( [id://608470]=note: print w/replies, xml ) | Need Help?? |
Almost, but because the object arrives in $_[0] either way, you need to shift it out before testing @_, e.g. ...
-M Free your mind
In Section
Seekers of Perl Wisdom
|
|