in reply to Re: Re: Re: Re: Help Matching Sections of a file
in thread Help Matching Sections of a file

Aye, it would. I can't find a prettier solution than:

while (<FOO>) { if (my $ln = /bar/ .. /baz/) { print unless $ln =~ /E/; } }