note
JaWi
While not tested, I saw this elegant solution in [id://195341|this] node:
<code>
print if /\[foo\]/ .. /\[foo2\]/ foreach ( @lines );
</code>
Credits go to [zigdon]... ;-)
<p>
<b>Update:</b> Check Ovid's answer; it's more strict in the requirements set.
<p>
-- JaWi
<p>
"A chicken is an egg's way of producing more eggs."
204265
204265