in reply to Max numbers of element in the values of an HoH

If you only need the maximum (and you're not golfing), I see no reason to sort. You could use something like:
my $max=0; for(map values %$_,values %result){ my $n=split; $max=$n if $n>$max; } print $max;
HTH

Replies are listed 'Best First'.
Re^2: Max numbers of element in the values of an HoH
by secret (Beadle) on Dec 16, 2005 at 16:32 UTC
    neat, since it doesn't need the @list nor the @tmp either !
    thx