in reply to glob and regex
See. opendir and readdir for more info.opendir(my $dir, 'your_directory_here') or die("ack: $!"); my @files = grep /[A-Za-z]{2}_\w{2,5}/, readdir $dir; closedir $dir;
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: glob and regex
by hardburn (Abbot) on Oct 09, 2003 at 14:50 UTC |