June 2005
Beginner
480 pages
10h 31m
English
What follows is a quick tour of some of the modules already installed on your system as part of the core Perl distribution.
In Hour 10, you learned how to open directories and read lists of filenames contained within those directories. At that time, when the subject of reading subdirectories came up, you were told not to be concerned. Now you'll learn how to traverse directories and subdirectories recursively.
You might write a common program to find a particular file without knowing exactly what directory it's in. For example, suppose you want to find a file named important.doc somewhere beneath the directory documents, as shown here:
This illustration shows a directory structure under a parent directory ...
Read now
Unlock full access