[ale] Re: 2 Perl questions ?

Alex LeDonne aledonne at yahoo.com
Wed Dec 15 15:13:06 EST 2004



> From: Courtney Thomas <ccthomas at joimail.com>

> 2-I also need to traverse a dir that itself contains dirs, processing
> 
> each file and dir. How do I traverse such a dir such that....when a
> dir 
> is encountered it is entered and all the files in it are then
> processed, 
> and if necessary drills down through other dirs [howto control depth 
> ?]...before returning to the original dir that contained files and
> dirs ?
> 

This is what perl's File::Find module was made to do. Install from CPAN
- no need to reinvent the wheel. :)

-Alex


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 



More information about the Ale mailing list