Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Sorting an AoHoH or AoHoAoHby Ido (Hermit) |
on Jun 23, 2004 at 03:13 UTC ( [id://368931]=note: print w/replies, xml ) | Need Help?? |
Your second sort phase should sort different lists. In order to do that you should sort more than once. Also, please notice that every element of @s1_events is a hashref, and the 'list' element of the hashref is an arrayref, not another hash. Therefore, you can't $a->{list}{date}. In order to sort each month's list, I would iterate through months, and sort, like: Hth..
In Section
Seekers of Perl Wisdom
|
|