|
|
| There's more than one way to do things | |
| PerlMonks |
Re: how to cut context between first "begin" and "end"?by snoopy (Chaplain) |
| on Sep 02, 2009 at 04:30 UTC ( #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
|
|
||||||||||||||||||||