rvosa has asked for the wisdom of the Perl Monks concerning the following question:
and now I'd like to populate an array with the keys of the middle hash, numerically sorted by the integers in R#1, R#2, R#3 etc, i.e.:$entry{$table}{A}{RANK} = R#3; $entry{$table}{C}{RANK} = R#2; $entry{$table}{B}{RANK} = R#1;
by sorting the %entry hash, somehow. But how? Many thanks for any hints! (Note that the A, B, C keys are just for example...)@array = qw(B C A);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sort question
by dragonchild (Archbishop) on May 17, 2005 at 18:16 UTC | |
by salva (Canon) on May 18, 2005 at 07:54 UTC | |
|
Re: sort question
by mda2 (Hermit) on May 17, 2005 at 18:32 UTC | |
by rvosa (Curate) on May 17, 2005 at 18:51 UTC | |
by mrborisguy (Hermit) on May 17, 2005 at 18:59 UTC | |
by rvosa (Curate) on May 17, 2005 at 19:31 UTC | |
by rvosa (Curate) on May 17, 2005 at 19:02 UTC | |
|
Re: sort question
by mrborisguy (Hermit) on May 17, 2005 at 18:19 UTC |