I am reading a file, line by line, where each line has a mixture of "regular" characters as well as CONTROL characters. I works fine...EXCEPT when there is a LineFeed character in the line. Perl is determining that that is the end of the line...when, actually, there is more on the line.
I've cheesed something together where I replace the LineFeed with the character "X", then I append the next line to it. But, this isn't very elegant.
Is there a better, more elegant way, to hand this situation?
Thanks in advance!
I've cheesed something together where I replace the LineFeed with the character "X", then I append the next line to it. But, this isn't very elegant.
Is there a better, more elegant way, to hand this situation?
Thanks in advance!