in reply to Re^2: Grabbing Structured multi line output from a file?in thread Grabbing Structured multi line output from a file?
So tweak it if necessary :)
$/ = " next\n"; # read by chunks [download]