On 21 Apr 2004, at 11:09, Ryan Thomas wrote:


I am relatively new at PERL and am learning it for a school project. What I would like to do is write a perl script that can run a complete directory listing including sub-directories and save the result to a text file.

Not sure where to start.

Take a look at File::Find (to recurse directories) and open (to open a handle you can print to to write to a file)..


perldoc File::Find
perldoc open

--
David Dorward
     <http://dorward.me.uk/>
<http://blog.dorward.me.uk/>


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to