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 ;)
In reply to Re: ActivePerl 5.6.1 Win32 munging CR/LFs
by wine
in thread ActivePerl 5.6.1 Win32 munging CR/LFs
by luma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |