in reply to Re^2: File lines being treated as one.
in thread File lines being treated as one.

Check that the input record seperator $/ hasn't been altered. You could:

local $/ = "\n"; while (<FF>) {

to make sure. Otherwise reduce the code to a minimum that demonstrates the problem and post the complete code. You shouldn't need more than about another two or three lines of code more than your current sample. Also, make sure you are using strictures: use strict; use warnings;


DWIM is Perl's answer to Gödel