in reply to Re: How do I read the files in @ARGV one by one
in thread How do I read the files in @ARGV one by one

Make sure you don't do what I just did:

my @ARGV = $file;

The my creates a new, local @ARGV which is not what you want. Doh!