Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Dealing with files with differing line endings

by dd-b (Monk)
on Nov 05, 2021 at 21:17 UTC ( [id://11138486] : note . print w/replies, xml ) Need Help??


in reply to Re: Dealing with files with differing line endings
in thread Dealing with files with differing line endings

Chomp cleans off the end of a string based on the current value of $/. I need something to cause reading the next line of the file to terminate in the correct place. (And then I probably do also need to do something like chomp, but that's easy.)