Keep It Simple, Stupid | |
PerlMonks |
Re^3: Perl List files in directory (find/rule)by bigj (Monk) |
on Apr 22, 2014 at 11:32 UTC ( [id://1083146]=note: print w/replies, xml ) | Need Help?? |
O.K., you'd have to change '.' from my snippet to '/opt' or '/opt/tmp' or $dir to work it on other than current dir.
Whether you use File::Find or File::Find::Rule is more a matter of taste. The maintainer of the module describes it as a is a friendlier interface to File::Find :-).
Greetings,
In Section
Seekers of Perl Wisdom
|
|