See. the File::Find::Rule docs for more information on this most marvellous of modules.use File::Find::Rule my $rule = rule( file => name => '*.out', grep => qr/error/, start => \@directory_list, ); while(my $file = $rule->match) { # send mail here }
_________
broquaint
In reply to Re: File Search
by broquaint
in thread File Search
by mikevanhoff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |