If it is, it's shifting off @_ instead of @ARGV.
perldoc -f shift ... If ARRAY is omitted, shifts the @_ array within the lexical scope of subroutines and formats, and the @ARGV array at file scopes ...
/J
In reply to Re: shift doesnt shift
by jplindstrom
in thread shift doesnt shift
by joec_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |