|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^4: shift vs @_by tomhukins (Curate) |
| on Oct 02, 2006 at 16:44 UTC ( [id://575952]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||