That should find all *.{txt,log} files in the directories in and below $your_path_here and store them as filenames in @files. Ain't File::Find::Rule great folks?use File::Find::Rule; my @files = find( file => name => [ '*.txt', '*.log' ], in => $your_path_here );
_________
broquaint
In reply to Re: next if regex matches
by broquaint
in thread next if regex matches
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |