in reply to read multiple files
@ARGV = glob('*.txt'); while (<ARGV>) { # Do some clever stuff with $_ # $ARGV contains the current file name print "$ARGV $_"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: read multiple files
by Bloodnok (Vicar) on Jan 28, 2009 at 14:14 UTC |