bobn, I tried your suggestion, but it didn't fix the problem. However, Thelonius has said that this is a problem with the Open Perl IDE that I used, not Perl itself or my Windows system's port of it. And when I used a freeware Perl frontend for Win32 systems, the problem did not occur.