http://www.perlmonks.org?node_id=157837


in reply to Win32 Recursive Directory Listing

On Unix systems, the File::Find module is what you want. I suspect it will work under Win32 too, but I don't have enough experience on Win32 to say for sure.