pandelis has asked for the wisdom of the Perl Monks concerning the following question:
and I would like to have in a second step (after sorting on values)old[1]{john} = 1 old[2]{lucy} = 2 old[3]{marc} = 1
But I did not find a way to do that. Would you have any idea, please? Best regards, Pandelisold[1]{john} = 1 old[2]{marc} = 1 old[3]{lucy} = 2
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Array of Hashes and sorting by values
by Corion (Patriarch) on Jan 17, 2011 at 15:27 UTC | |
by pandelis (Initiate) on Jan 17, 2011 at 20:00 UTC | |
by Corion (Patriarch) on Jan 17, 2011 at 20:20 UTC | |
by pandelis (Initiate) on Jan 18, 2011 at 07:42 UTC |