in reply to Re^2: Unix shell ls vs readdir
in thread Unix shell ls vs readdir
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.
|
|---|