while (<file>) { next unless my $where = /START/ .. /END/; print unless $where == 1 or $where =~ /E0/; }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re: Between START .. END
by merlyn
in thread Between START .. END
by darrengan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |