in reply to Recursive directory listing

Use File::Find to ease your life (You can tweak it's behavior).