Josh,

> This would not work since that usage of 'sort' is only for an array ref,
> and the original ref was a hash ref.

Ah, so it was.

I wonder if Octavian could recast his collection to be an array rather than a
hash then (similar to your first suggestion).  It would depend, obviously, on
if he were ever referring to the elements by the "idN" tags or not.

Elsewise, were it me, I'd go with a new vmethod (which I believe was your 3rd
suggestion).


                -- Buddy

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to