use File::Find::Rule; my($ext, $dir) = qw( .{ext,wav,swf} /home/user/files ); for(find(file => name => $ext, in => $dir)) { ## operate on file here }
_________
broquaint
In reply to Re: searching folder for specific files
by broquaint
in thread searching folder for specific files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |