in reply to Re^3: Sort of anonymous hash
in thread Sort of anonymous hash
for my $d (sort {$descs->{$a} cmp $descs->{$b}} keys %{ $descs = {map +{$_ => $hash{$_}{desc}} keys %hash}} ) { ... ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Sort of anonymous hash
by larsss31 (Acolyte) on Sep 30, 2009 at 11:12 UTC |