in reply to Re: How do I remove carriage returns from scalars?
in thread How do I remove carriage returns from scalars?
No, in DOS, "\n" is "\012". It only becomes "\015\012" when written to a file (and then only if that file handle is not in binmode -- and this is done by the C RTL, not by Perl). Even under Unix, "\n" is turned into "\015\012" when written to many devices (just not when written to files).
- tye (but my friends call me "Tye")
|
|---|