in reply to next if regex matches
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
|
|---|