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 reply to Re: trouble understanding code, and shift() w.o args
by moritz
in thread trouble understanding code, and shift() w.o args
by DanielM0412
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |