Do you want to pass the filename on the command line? If so, see perlvar on @ARGV.
Do you want to add all files matching some wildcard? If so, see File::Glob on bsd_glob:
use File::Glob qw(bsd_glob); my @files = bsd_glob("C:\\Documents and Settings\\jordant\\Desktop\\Du +mp\\*.pcap"); for my $file (@files) { print "Processing '$file'\n"; };
In reply to Re: Read() -Multiple Files-
by Corion
in thread Read() -Multiple Files-
by jboy4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |