Duh!! Thanks!! Now I've moved the parenthesis, and I'm getting the following error now from STDERR: "Can't open blah.txt: No such file or directory at c:\console.pl line 19, <STDIN> line 1." Which is odd because I'm looking at the file right now - I'm testing this on Windows 98, and the file isn't set to Read Only, and I've tried closing blah.txt completely before running the script. I've tried moving the file from c:\blah.txt to c:\perl\bin\blah.txt (I'm invoking the file from the command line from c:\perl\bin via "perl c:\console.pl"), but it doesn't seem to matter.