Your wish won't work, because the input record seperator cannot be treated as a regular expression.
You have a pretty common situation, where records are marked by a prefix instead of a postfix seperator. I think the easiest way to deal with that is to set local $/ to "\n>" and take the first record as a special case. Call chomp to remove the "\n>" from the end of the records.
After Compline,
Zaxo
In reply to Re: Input record separator
by Zaxo
in thread Input record separator
by travisbickle34
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |