in reply to Re^2: Parsing/regex question
in thread Parsing/regex question
Then in the while loop you can do something like this:
Also rename $lines_to_skip to something suitable.... if (0 < $lines_to_skip) { if ($line =~ /datestamp-regex/) { next LINE; } # we are at the next date stamp line so fall through, etc. } ...
In Section
Seekers of Perl Wisdom