Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Sorry I was not clear with my requirement, also I made worst mistake in my code. My requirement is to print the Maximum value the same way Average value printing works. So the assignment of values to hash array keys should be max value instead of sum of the values in that group.
Is there a way to assign maximum value in this while loop shown above to $h{$ddhh }{$database} and $m{$ddhhmm}{$database} ?? If this is possible then I can follow the same procedure to print Max values the same way we did for Average. One more doubt... All I did to find Average is to loop through the Hash Array one more time and assign the Average value to it as shown below
Can it be done efficiently without looping the Hash Array again ? I mean can this be done in while loop itself ? In reply to Re^12: Computing results through Arrays
by yasser8@gmail.com
|
|