Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Parsing/regex question

by superfrink (Curate)
on Jul 06, 2009 at 19:03 UTC ( #777637=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Parsing/regex question
in thread Parsing/regex question

Then in the while loop you can do something like this:

... if (0 < $lines_to_skip) { if ($line =~ /datestamp-regex/) { next LINE; } # we are at the next date stamp line so fall through, etc. } ...
Also rename $lines_to_skip to something suitable.


Comment on Re^3: Parsing/regex question
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://777637]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-11-20 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (101 votes), past polls