in reply to Find all JPEG files in a directory
perldoc File::Find But usually I'd do what all the other comments suggest, use "find", if I were on a non-Windows system.use File::Find; find( sub {/\.jpe?g$/i and print "$File::Find::name\n"}, @dirs, );
|
|---|