http://www.perlmonks.org?node_id=569815


in reply to Re: Why is file being slurped in instead of line by line?
in thread Why is file being slurped in instead of line by line?

Thanks; That's what I get for stealing code from something else I had done where I wanted to get rid of the line feed.
I had a teacher once who used to say. If you can't find something in 5 minutes it is probably a stupid mistake (ie a missing ; or something).
-- Grey Fox
Perl - Hours to learn lifetime to master.