If you intend to open multiple files, one after another, you should wrap your open.... while.... stuff in a foreach block that iterates over the filenames held in @ejectapes.
Also, why are you setting @ARGV but then not using the magical properties of the <> operator? What exactly are you trying to do... maybe we can help you come up with a Perlish solution.
Dave
In reply to Re: shifting data to the beginning of an array
by davido
in thread shifting data to the beginning of an array
by drock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |