in reply to Re: min and max in a hash of hash
in thread min and max in a hash of hash
Edit: this works for sure only if you doesn't care about the month of the min/max value.foreach my $y (sort keys %Year) { my $min_y = List::Util::min values %{ $Year{$y} }; print "min of [$y] is [$min_y]\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: min and max in a hash of hash
by ikegami (Patriarch) on Jul 12, 2010 at 22:28 UTC | |
by pRaNaV (Novice) on Jan 22, 2012 at 12:02 UTC | |
by Anonymous Monk on Jul 17, 2014 at 19:52 UTC | |
by AppleFritter (Vicar) on Jul 17, 2014 at 20:47 UTC |