I never do a chomp... Every record keeps its "\n" (at the end) and is written back out with it again.
I don't plan on splitting the record (variable) while reading - unless there's a good reason. I'll read it all in, then split it on "\n" to put it into an array.