> OTOH, I don't see the point in struggling with Text::Balanced, when all you > need is: > > my @extracted = $source =~ /covergroup.+?endgroup/gs;
The example I gave is simple but will become more complex as I keep adding functionality to it. More complex input is yet to come. Also, I believe people would frown if they see applications of complex hand written regexes when built in modules can do that work. Regards -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/