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
In reply to Re^2: read multiple files
by Bloodnok
in thread read multiple files
by sharan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |