in reply to Re: ActivePerl 5.6.1 Win32 munging CR/LFs
in thread ActivePerl 5.6.1 Win32 munging CR/LFs

No, no, no! Perl is nearly exactly like C in this regard. "\n" is always a single character. When it gets written to a non-binmode file under Win32, it gets turned into "\r\n". When it gets written to a (defaultly configured) device under Unix, it also gets turned into "\r\n" (but people don't worry much about that because you can't read the results back in).

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: ActivePerl 5.6.1 Win32 munging CR/LFs