will print all lines from the first that matches /START/. Use "/START/../END/" if you want to stop processing at the end of each section.while (<LOG>) { next unless /START/..0; print; }
--Dave
In reply to Re: skipping lines in a file until regexp matches
by dpuu
in thread skipping lines in a file until regexp matches
by blueflashlight
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |