in reply to List all Dirs, subdirs and files

Have a look at File::Find