![]() |
|
No such thing as a small change | |
PerlMonks |
Re: shifting data to the beginning of an arrayby davido (Cardinal) |
on Jun 16, 2004 at 18:54 UTC ( #367373=note: print w/replies, xml ) | Need Help?? |
One issue is that you're interpolating an array into a string and trying to use the results as a filename to open.
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 Section
Seekers of Perl Wisdom
|
|