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


in reply to Difficulty using $/ as delimiter

Uh, the entries you've read still have newlines in them. Just split them like

@lines_of_this_entry = split /^/;