On Wednesday 08 December 2010 22:49:35 Shawn H Corey wrote:
> On 10-12-08 02:41 PM, Noah wrote:
> > Hi there,
> > 
> > what is the easiest way to get all the filenames like *html in the root
> > directory and all subdirectories?
> > 
> > The glob command appears to just sit at the root directory.
> > 
> > Cheers,
> > 
> > Noah
> 
> use File::Find;
> 
> See `perldoc File::Find` for details.

Also see:

* http://www.shlomifish.org/open-source/projects/File-Find-Object/

* http://search.cpan.org/dist/File-Find-Object/lib/File/Find/Object.pm 
(contains a list of alternatives).

* https://www.socialtext.net/perl5/index.cgi?alternatives_to_file_find

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
The Case for File Swapping - http://shlom.in/file-swap

<rindolf> She's a hot chick. But she smokes.
<go|dfish> She can smoke as long as she's smokin'.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to