raisputin has asked for the wisdom of the Perl Monks concerning the following question:
I have a log file that I need to read and parse which would normally be easy enough, however each log entry is 3 lines long. I am not sure whether I should be reading either 3 lines at a time or come up with something to figure out what line it is and then choose how to deal with it.
I am thinking that reading it in chunks of 3 lines would be best, but I don't have a clue where to look for examples or how to implement it myself. Any Help is appreciated :)
PLease Disregard, I found a solution in another thread that I had previously missed
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question about reading a file...
by BioLion (Curate) on Nov 04, 2009 at 21:29 UTC | |
by raisputin (Scribe) on Nov 04, 2009 at 22:19 UTC | |
|
Re: Question about reading a file...
by gmargo (Hermit) on Nov 04, 2009 at 22:21 UTC | |
by raisputin (Scribe) on Nov 05, 2009 at 00:11 UTC |