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
In reply to Re: glob and regex
by broquaint
in thread glob and regex
by AlisonA
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |