http://www.perlmonks.org?node_id=998279


in reply to Re^2: Numeric sorting WITHOUT <=>
in thread Numeric sorting WITHOUT <=>

No.
# keys in scalar context: Number of keys. my $min = keys(%jetsons); # keys in list context: List of keys. First one is assigned my ($min) = keys(%jetsons);

Replies are listed 'Best First'.
Re^4: Numeric sorting WITHOUT <=>
by Marshall (Canon) on Oct 12, 2012 at 06:36 UTC
    Correct.
    My mistake.