in reply to Parsing multi-line record with varying data
I had headed in the direction of 'paragraph mode' but what quickly threw me off of there was the empty line within each entry containing a 'deletion-time', which throws off the input separator.
Use $/ = 'rn:'; as the input separator and discard the first read. After that each read will be one complete section.
|
|---|