|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re^5: Sorting Template Toolkit Array of Hashrefsby Anonymous Monk |
| on Jul 21, 2012 at 10:49 UTC ( #982966=note: print w/ replies, xml ) | Need Help?? |
|
So that begs the question ... how to turn the compound expression into a singular key? Don't :) If you view the source, you can see the current implementation If you're smart enough you could alter it to accept [ agendas', 0, 'agendaDate' ] to sort by agendas.0.agendaDate If you're really smart, you'll do any such sorting/prep required from within perl and simplify the data structure you give the template ( adjust your "model" )
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||