in reply to ActivePerl 5.6.1 Win32 munging CR/LFs

I guess this is a bug. Executing your code on Linux results in the expected output.

I would just leave the \n out and use $\ if you want to force a line-ending in a print statement.

BTW: This strange line-ending (LF/CR) is used on apple computers.

Update I going to get some coffee ;)

  • Comment on Re: ActivePerl 5.6.1 Win32 munging CR/LFs

Replies are listed 'Best First'.
Re: Re: ActivePerl 5.6.1 Win32 munging CR/LFs
by luma (Novice) on Jul 24, 2001 at 22:57 UTC
    found it!

    binmode()

    i might add that mac's actually use a bare CR, not LF/CR.

    luma::s-video