in reply to I go crazy with windows filenames with spaces!

Most likely this is because when you shell out to `cd`, you get whitespace at the end of your directory. If you run with warnings enabled, Perl will tell you when you try to open a file with a newline at the end of its name. But maybe you did want to use Cwd instead anyway? Or File::Find?

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.