If I understand your question, you want all lines between markers. If so, you need the "flip-flop" operator, otherwise known as ".." in list context. You can search for it's use and examples here on perlmonks or goto http://perldoc.perl.org/perlop.html and search for that phrase there. It's not something I use very often, but when I do need it then it's very nice to have. :)
HTH,
Kevin
Comment on Re: extract text from multi-line context