See: binmode
Interestingly, moron, tye, and various others were talking about the nuances of $/ and perl file handles on the CB the other day. Apparently a "\n" can be multiple characters on the way out (or represent multiple on the way in) where appropriate on different platforms.
And It would seem that this translation happens between perl and the OS. That is, $/ is "\n" on windows. I was surprised by that — "fooled" as tye put it.
-Paul
In reply to Re: Trouble with newlines
by jettero
in thread Trouble with newlines
by neomage
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |