in reply to Using 'Shift' in subroutine argument

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.