Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: shift vs @_by grep (Monsignor) |
on Oct 02, 2006 at 18:36 UTC ( [id://575925]=note: print w/replies, xml ) | Need Help?? |
I will often use multiple shifts if I want to short circuit a sub when a non-true value is passed.
Again I'll note that this works only for non-true values, IOW if 0(zero) is acceptable then don't do this.
In Section
Seekers of Perl Wisdom
|
|