in reply to Re: Sorting Template Toolkit Array of Hashrefs
in thread Sorting Template Toolkit Array of Hashrefs
The TT documentation says ...
"When an item in the list is a hash reference, the search key will be used to retrieve a value from the hash which will then be used as the comparison value".
Since row.agendas.0.agendaDate retrieves the value inside the FOREACH loop, it seems reasonable that it would retrieve the value for the sort comparison, but alas it's not doing that. :(
"Its not how hard you work, its how much you get done."
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Sorting Template Toolkit Array of Hashrefs
by Anonymous Monk on Jul 19, 2012 at 01:22 UTC | |
by roho (Bishop) on Jul 19, 2012 at 10:35 UTC | |
by Anonymous Monk on Jul 21, 2012 at 10:49 UTC | |
by roho (Bishop) on Jul 23, 2012 at 15:33 UTC | |
Re^3: Sorting Template Toolkit Array of Hashrefs
by Anonymous Monk on Mar 07, 2013 at 10:37 UTC |
In Section
Seekers of Perl Wisdom