NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

This node was taken out by the NodeReaper on Jun 15, 2011 at 14:29 UTC
  • Comment on Reaped: solve the relative timestamp problem

Replies are listed 'Best First'.
Re: solve the relative timestamp problem
by jellisii2 (Hermit) on Jun 14, 2011 at 20:38 UTC

    It's unclear what exactly you're looking for in 1. time() will give you epoch on the system that you're working on. No need to jump through hoops with getting the date from the system

    Your sample data isn't enough to get a clear idea of what you want to do for 2, unless you just want to add the bytes column for each unique file and ip combination. If that's the case, split the data on the delimter (tab?) and build a HOH scenario, using the IP as the key.

      Thanks, you are right. I feel embarrassed:-)