in reply to Parsing a text file without newlines

If you see newlines in your text file the maybe your record separator
variable has been set to undef (undef $/;) somewhere in
your code.
But for reading csv files the module Text::xSV might be worth
looking at anyway
si_lence