Perl Tutorials - Herong's Tutorial Examples - Version 5.40, by Dr. Herong Yang
Open Directories and Read File Names
This chapter provides tutorial examples and notes about opening directories. Topics include using opendir() to open a directory handle for a given path name; using readdir() to read file names and sub directory names; using recursive methods to process all files of a directory tree.
Table of Contents