Problems? Is your data what you think it is? | |
PerlMonks |
Re^4: shift vs @_by tomhukins (Curate) |
on Oct 02, 2006 at 20:44 UTC ( [id://575952]=note: print w/replies, xml ) | Need Help?? |
Perhaps, but consider the starting point of one argument:
compared to: I use the shift approach because it gives me a clean starting point and lets me extend my methods (or subroutines) easily. Having said that, I try to avoid extending public methods and prefer to create new methods when appropriate. But perhaps I'm drifting away from the original question a little..
In Section
Seekers of Perl Wisdom
|
|