aconite has asked for the wisdom of the Perl Monks concerning the following question:

Greetings, I need to step through a directory structure and open a particular file that resides in particular subdirectories.

For instance, /web/web1/1234/config.pl
/web/web1/1235/config.pl
/web/web1/1236/config.pl

I need to step through, open config.pl, read some data from it, and then step to the next directory in the tree and do the same. Can anyone help me with some code for this?

TIA

Originally posted as a Categorized Question.

  • Comment on Recursing through a directory and files