in reply to Re^2: string replace with CRLF
in thread string replace with CRLF

MacPerl used to be different, but I was told that is no longer the case. MacPerl was the only exception, so now "\n" is always "\x0A" and "\r" in always "\x0D".

But if you wanted to be sure, you'd use either
"\n" without binmode or
"\x0D\x0A" ("\015\012") with binmode.