in reply to Re^3: CR-LF Newlines as 2 distinct characters
in thread CR-LF Newlines as 2 distinct characters

Certainly the right track. I had stopped with binmode and gone in search of some way to have the string encoding treated differently, hence my foray into using Encode.pm. As you can see, I've come back to it though.

"One is enough. If you are acquainted with the principle, what do you care for the myriad instances and applications?"
- Henry David Thoreau, Walden

  • Comment on Re^4: CR-LF Newlines as 2 distinct characters