in reply to Re^2: How to reset a variable for each file inside a while( <> ) loop?
in thread How to reset a variable for each file inside a while( <> ) loop?

...still wondering if Perl provides an access to this 'behind the scene' information

(from perlvar)

$ARGV contains the name of the current file when reading from <> +.
  • Comment on Re^3: How to reset a variable for each file inside a while( <> ) loop?
  • Download Code