This doesn't have to do with your immediate problem, but one thing that might make you life easier when dealing with Perl on Windows is to remember that unlike cmd.exe, the Windows system internally can use forward slashes for paths. So where you have "c:\\ascii\\" it could actually be "c:/ascii/" instead.