in reply to skipping lines in a file until regexp matches

You could also try the bistable operator (".." in scalar context):
while (<LOG>) { next unless /START/..0; print; }
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.

--Dave

Replies are listed 'Best First'.
Re: Re: skipping lines in a file until regexp matches
by blueflashlight (Pilgrim) on Dec 18, 2002 at 04:41 UTC
    Awesome! Thanks to everyone who responded; I went with dpuu's solution, as it seemed the easiest to "grok", and it worked perfectly!

    --blueflashlight