Just another Perl shrine | |
PerlMonks |
Re: trouble understanding code, and shift() w.o argsby moritz (Cardinal) |
on Aug 04, 2011 at 15:16 UTC ( [id://918560]=note: print w/replies, xml ) | Need Help?? |
Try perldoc -f shift, or shift: If ARRAY is omitted, shifts the @_ array within the lexical scope of subroutines and formats Within a subroutine the array @_ contains the parameters passed to that subroutine. I also think that all the perl introductions I've read explain this.
In Section
Seekers of Perl Wisdom
|
|