Steve Peters via RT wrote: > I was not able to repliate this problem with the stock Cygwin Perl on > the Cygwin/XP environment. > > $ perl foo.pl > foo.txt ; od -c foo.txt ; ls -l foo.txt > 0000000 H e l l o \n > 0000006 > -rw-r--r-- 1 STEVE group 6 Nov 12 2004 foo.txt You must execute this on a text mount. The easiest way to achieve this is to ensure that you are on a drive that is not mounted. For example, on my machine, if I have the following mounts: c:\cygwin\bin /bin c:\cygwin\usr /usr c:\ / To reproduce the problem, I go to drive d: (not listed in the mounts). % cd /cygdrive/d % ... Earl