We don't bite newbies here... much | |
PerlMonks |
Re: how to cut context between first "begin" and "end"?by snoopy (Curate) |
on Sep 02, 2009 at 04:30 UTC ( [id://792803]=note: print w/replies, xml ) | Need Help?? |
One approach is to use a regular expression:
Update: added \n anchors and commented the regexp.
In Section
Seekers of Perl Wisdom
|
|