in reply to Re: read multiple files
in thread read multiple files
or does that special operation of @ARGV only work for unadulterated i.e. non modified internally to the script, values of @ARGV ??@ARGV = glob('*.txt'); while (<>) { # Do some clever stuff with $_ # $ARGV contains the current file name print "$ARGV $_"; }
There you go, once again living up to my sig :D
|
|---|