If you start shoving lots of subroutines and stuff into your templates, you'll lose the separation that is the whole point of TT. On the other hand, if you really think this is a more appropriate way to write your templates, maybe you should use an in-line Perl templating tool like Text::Template.
In reply to Re: Template Toolkit 2 and subroutines
by perrin
in thread Template Toolkit 2 and subroutines
by marcink
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |