Take a look at the special variable $/ AKA $INPUT_RECORD_SEPARATOR. If you set it to 'END', then your read will return all the data a paragraph at a time. Slice 'n' dice of the paragraph is left as an exercise.
----
I Go Back to Sleep, Now.
OGB
Comment on Re: Parsing file and joining content into string