[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



> 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?
<a  rel="nofollow" href="http://my.yahoo.com";>http://my.yahoo.com</a> 


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00550.html">To: Jerry Yu...     Re: [ale] 2 Perl questions ?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00552.html">[ale] ISO image from a mounted CDROM</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00540.html">[ale] ISO image from a mounted CDROM</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00564.html">[ale] OT: Apex PD650 Black Screen</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00551"><strong>Date</strong></a></li>
<li><a href="threads.html#00551"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>