in reply to Re^4: Tutorial on File::Find even more basic than "Beginners Guide"
in thread Tutorial on File::Find even more basic than "Beginners Guide"

You do not have to specify the subdirs of "/some/directory" - File::Find will walk through all the files and subdirs of "/some/directory" recursively. You may want to specify more directories if you want to call the same routine on a number of different directory trees:

find \&process_file, "/cdrom", "/floppy";
Will call process_file for each dir and file on the cdrom or floppy drive (well, it will on my machine, but the location of those drives in your filesystem might be different)

  • Comment on Re^5: Tutorial on File::Find even more basic than "Beginners Guide"
  • Download Code