On Apr 15, 2004, at 7:08 AM, Sten Berg wrote:

Hi gurus!

I´m looking for a way of analysing a log file and pinpoint missing sequences (foreach loop?). The logfiles looks something like this:

LOGFILE
- value : 0
some data...
- value : 1
some data...
- value : 2
some data...
...
...
- value : 255
some data...
- value : 0
some data...
- value : 1
some data...
...

In other words; one loop stretches from 0-255 and then the next loop starts off att 0 again. I just want to know which values that are missing between 0-255 AND in which loop they were missing.

I´m greatful if anyone can solve this :-)

What have you tried? Where are you stuck? Show us some code. Help us help you.


James


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to