in reply to ColorRamp1785
my @map = sort{ $a <=> $::b } keys %map;
Why bother using $::b? I thought it was just shorthand for $main::b (and $::main::b and so on :P).
I'm so adjective, I verb nouns!
chomp; # nom nom nom
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: ColorRamp1785
by BrowserUk (Patriarch) on Nov 19, 2008 at 20:26 UTC | |
by Lawliet (Curate) on Nov 19, 2008 at 20:33 UTC |
In Section
Cool Uses for Perl