Section 12.5. Recursive Directory Listing


12.5. Recursive Directory Listing

You probably won't need recursive directory access for the first few dozen hours of your Perl programming career. Rather than distract you with the possibility of replacing all those ugly find scripts with Perl right now, we'll entice you by saying that Perl comes with a library called File::Find, which you can use for recursive directory processing. We're saying this to keep you from writing your own routines, which everyone seems to want to do after those first few dozen hours of programming and then getting puzzled about things like "local directory handles" and "how do I change my directory back?"



Learning Perl
Learning Perl, 5th Edition
ISBN: 0596520107
EAN: 2147483647
Year: 2003
Pages: 232

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net