You could have something like:
<%each hash sort=num reverse=1 %>
Meaning that by default it wouldn't reverse.
The solution of having sort=num or alpha looks good to me.
In reply to Re^3: HTML::Template::Compiled - TMPL_EACH
by mmanso
in thread HTML::Template::Compiled - TMPL_EACH
by mmanso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |