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?”

Get Learning Perl, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.