Personally, I like to avoid callbacks from within templates when possible, but this can be useful for things like passing in a subroutine that escapes HTML characters.[% filler(some_var) %]
In reply to Re: Re: Re: Passing arguments to subroutines using Template Toolkit
by perrin
in thread Passing arguments to subroutines using Template Toolkit
by elbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |