Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^3: analyzing data

by salva (Abbot)
on Apr 23, 2014 at 09:05 UTC ( #1083301=note: print w/replies, xml ) Need Help??

in reply to Re^2: analyzing data
in thread analyzing data

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).

Replies are listed 'Best First'.
Re^4: analyzing data
by matt00perl (Novice) on Apr 23, 2014 at 09:32 UTC

    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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1083301]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2018-04-26 14:59 GMT
Find Nodes?
    Voting Booth?