in reply to Grabbing Structured multi line output from a file?

you should check with a /flip/ .. /flop/ condition to find the lines of the section in between two regex-matches.

See Flipin good, or a total flop? for an explanation for how the range-operator is used for that.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!