gooyava has asked for the wisdom of the Perl Monks concerning the following question:
I want to sort it by author's name which is where 'dani M. rod' is. how can that be done? thanksmy %books=( '34' => ['enlgish', 'dani M. rod', 54], '24' => ['spanish', 'ramk rovale', 41], '54' => ['enlgish', 'bob falicas', 17], );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sorting hash by a certain value (that it is in an array)
by Corion (Patriarch) on Jul 17, 2012 at 11:28 UTC | |
|
Re: sorting hash by a certain value (that it is in an array)
by brx (Pilgrim) on Jul 17, 2012 at 11:47 UTC | |
by gooyava (Novice) on Jul 17, 2012 at 13:27 UTC | |
by Corion (Patriarch) on Jul 17, 2012 at 13:34 UTC | |
by jethro (Monsignor) on Jul 17, 2012 at 13:35 UTC | |
by clueless newbie (Curate) on Jul 17, 2012 at 16:06 UTC | |
by brx (Pilgrim) on Jul 17, 2012 at 15:50 UTC | |
|
Re: sorting hash by a certain value (that it is in an array)
by BillKSmith (Monsignor) on Jul 17, 2012 at 14:33 UTC |