in reply to Array question

Build a hash with date and ip adress as key,and keep the values in an array After reading the first two entries the hash would look like this,
%myhash{ "01 Jul 2007,221.6.19.196"=>[9,19], "01 Jul 2007,221.6.19.197"=>[1,3] }
Now the third ipaddress and date is same as first one,so add up the new values with the already existing values.Once you have parsed the entire list,can get you o/p by printing the key's and value's of the array.Please throw in some sentences on you next post's, your post looks like a command to a computer ;)

The world is so big for any individual to conquer

Replies are listed 'Best First'.
Re^2: Array question
by narainhere (Monk) on Sep 05, 2007 at 11:03 UTC
    Sorry for being redundant.Didn't thought so many replies would have come before I post.