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"; }
In reply to Re^2: min and max in a hash of hash
by wwe
in thread min and max in a hash of hash
by nagalenoj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |