See. perlop for more info.my($i, @data) = 0; until(eof FILE) { $data[$i] .= $_ while ($_ = <FILE>) and /^Field 1/ .. /^Field 3/; $i++; }
_________
broquaint
In reply to Re: Help to slurp records - $/ maybe? (or flip-flop)
by broquaint
in thread Help to slurp records - $/ maybe?
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |