in reply to Re: analyzing data
in thread analyzing data

i will take start time minus end time which equal to the difference. Is that what you mean ?

Replies are listed 'Best First'.
Re^3: analyzing data
by salva (Canon) on Apr 23, 2014 at 09:05 UTC
    well, the details are important!

    How do you find the start and end times? How do you know you have covered all the entries?

    When writing some program, the first thing you need to do is to find a precise way to solve the problem. Then you can think about how to translate that into Perl (or any other language).

      my idea is to loop through the data, if an destination ip appears more than once...take the least time (ex. 01:01) continue, to the end of the data and get the last time (ex.01:05). take difference of those and return one line with new time (ex 00:04)

        That's not precise enough, it is not something I can translate to Perl.