Hi,

What's the best/simple way to find all lines between startPattern and
StopPattern:

@text= ( "ahfdj\n",
                "ksjdf\n",
                "startPattern\n",
                "gjdhgf\n",
                "kljsd\n",
                "stopPattern\n",
                "jsadflj\n");

I would like to get a list of those 2 items in the middle

Thanks

Yossi
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to