Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: analyzing data

by matt00perl (Novice)
on Apr 23, 2014 at 08:51 UTC ( [id://1083300]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2025-07-13 21:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.