No such thing as a small change | |
PerlMonks |
Re^4: How to pass two lists to a sub?by archen (Pilgrim) |
on Nov 05, 2004 at 23:18 UTC ( [id://405664]=note: print w/replies, xml ) | Need Help?? |
The main reason I use shift over @_ is to easily set up defaults and quickly get some error checking out of the way.
Consider:
In Section
Seekers of Perl Wisdom
|
|