if no array is given then it uses the default @_Inside a subroutine, shift and pop operate on @_, but in the main body of a program, they operate on @ARGV, which is what you generally want.
Update: Removed unshift and push as they are different. My mistake.
In reply to Re: My very confusing questions
by choroba
in thread My very confusing questions
by ROP
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |