I'm hoping this is an easy question that hasn't been answered before.  There's not 
really any place to search the archives, is there?
 
I'd like to sort an array of hash references by a value that's deep in the hash.  I 
know you can do:
 
[% array.sort('foo') %]
 
and that will sort the elements of "array" by the value of "foo" in each of the 
hashrefs.  Is there any way I could do:
 
[% array.sort('values.foo') %]
 
Where "values" is the key for a hashref within the top-level hashref?
 
Thanks,
 
Brian Hann

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates

Reply via email to