in reply to Re: Numeric sorting WITHOUT <=>
in thread Numeric sorting WITHOUT <=>
Don't really need the explicit cmp:
my @sorted = sort map { sprintf '%09d', $_ } keys %jetsons;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Numeric sorting WITHOUT <=>
by GrandFather (Saint) on Oct 10, 2012 at 20:31 UTC |
In Section
Seekers of Perl Wisdom