in reply to Re: Help on foreach loop
in thread Help on foreach loop

nope .. didn't work

Replies are listed 'Best First'.
Re^3: Help on foreach loop
by ysth (Canon) on Sep 09, 2004 at 16:05 UTC
    I think it's still needed, even if it doesn't fix your apparent problem. Have you printed out @ARGV before and after the while loop to see if it is as you expect? I suggest lots of print statements or a run through with perl -d.
      Any other ideas guys

        Try

        $newfile = shift @ARGV;