local $_; do { my $rec = ''; do { $rec .= $_ = <>; } until /^Field 3/ or !defined; # ... } while defined;
Makeshifts last the longest.
In reply to Re: Help to slurp records - $/ maybe?
by Aristotle
in thread Help to slurp records - $/ maybe?
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |