Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: Unix shell ls vs readdirby Anonymous Monk |
on May 11, 2010 at 14:42 UTC ( [id://839453]=note: print w/replies, xml ) | Need Help?? |
If you're looking for files within a single known directory, File::Find (or the recurse method of Path::Class::Dir) will be of little value to you. Their purpose is to call a subroutine for every file under a certain point. Any filtering must be done inside your subroutine. Options controlling depth-first or breadth-first processing of the directory tree will only effect order. No filtering would be implied.
In Section
Seekers of Perl Wisdom
|
|