in reply to READ one line at a time

You need to comment out or remove this line:

local $/;

It means that you are still slurping the files whole.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: READ one line at a time
by wrkrbeee (Scribe) on Dec 27, 2014 at 17:19 UTC
    Thank you! It is working beautifully now! Happy New Year to you!!!