misterperl has asked for the wisdom of the Perl Monks concerning the following question:
Is there some simple value of ? that would satisfy the corresponding list of hash values?my %h = qw (1 cat 2 dog 3 mouse 4 fish ); my %sortH; @sor4tH( sort values %h } = ?
TYVM, Respect!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is there a way to switch a hash values <> keys with a slice?
by Fletch (Bishop) on Apr 19, 2022 at 14:04 UTC | |
|
Re: Is there a way to switch a hash values <> keys with a slice?
by LanX (Saint) on Apr 19, 2022 at 14:21 UTC | |
by misterperl (Friar) on Apr 19, 2022 at 15:08 UTC | |
by LanX (Saint) on Apr 19, 2022 at 16:16 UTC | |
|
Re: Is there a way to switch a hash values <> keys with a slice?
by BillKSmith (Monsignor) on Apr 19, 2022 at 16:06 UTC |