in reply to Re^2: recursive dir and file
in thread recursive dir and file

I really like File::Finder for doing things like this.

As for not being able to install modules you can usually install the module source in your own directory. To install File::Finder you could do the following.

Create a directory named File in the same directory as your script is in.

Download the Finder.pm file from the CPAN link above. (There is a link named "Source" near the top of the page that explains the module.) Save this file in the File directory

At this point you should have a file tree something like:
/home/work/myscript.pl /home/work/File/Finder.pm

Now when you run your script it should look in the current directory for the modules in addition to the system directories.