@ARGV = glob('*.txt'); while (<ARGV>) { # Do some clever stuff with $_ # $ARGV contains the current file name print "$ARGV $_"; }
In reply to Re: read multiple files
by cdarke
in thread read multiple files
by sharan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |