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
'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
|
---|
In Section
Cool Uses for Perl