I've always believed it was a no-no to change a variable (@_ or @ARGV in this case) more than once in a single statement. As far as I know, Perl[1] doesn't define which shift will be done first.
[1] perl, does of course, do one or the other first.
In reply to Re: Using 'Shift' in subroutine argument
by FunkyMonk
in thread Using 'Shift' in subroutine argument
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |