Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: analyzing data

by salva (Monsignor)
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).


Comment on Re^3: analyzing data
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2014-07-22 22:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (129 votes), past polls