my $path = '/home/username/me/cgi-bin/files'; my @files = grep { -f and m/\.(exe|wav|swf)$/i } glob("$path/*");
--
[ e d @ h a l l e y . c c ]
In reply to Re: searching folder for specific files
by halley
in thread searching folder for specific files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |