TTBOMK you can't, that's the downside of the simplified dot syntax. What you can try however is to iterate the hash without using .keys. Template::Manual::Directives has this example:
FOREACH automatically sorts by key if you use the iterator that way.[% FOREACH u IN users %] * [% u.key %] : [% u.value %] [% END %]
In reply to Re: A key called keys in a hash in Template Toolkit
by mbethke
in thread A key called keys in a hash in Template Toolkit
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |