I agree with bobf, stripping the record sperarators and then trying to put them back is the wrong way to approach the problem.
Much better would be setting $/="\n10"; to slurp the combined records in one block at a time retaining the newlines. These then give you a very easy way to further break up the combined records.
In reply to Re^3: Extracting fields
by BrowserUk
in thread Extracting fields
by kerrya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |