while(<>) { if (/first-line-pattern/ .. /last-line-pattern/) { do your stuff; } }
In reply to Re: grabbing N lines after matching one?
by fundflow
in thread grabbing N lines after matching one?
by jptxs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |