http://qs321.pair.com?node_id=446171


in reply to Re^3: No Control M
in thread No Control M

re ordering of CarriageReturn and LineFeed, "...some weird non-unix and non-mac files ... have first the newline, then the carriage return. IIRC:

'doze: 0x0d, 0x0a

pre *n*x mac: 0x0a, 0x0d

*n*x: 0x0a

\n, in a perlish sense, is NOT relevant; perl is compiled to use system defaults, so "\n" may be any of the above (and possibly some not mentioned), depending on where it's running