And in template you can write:my $tmpl = new HTML::Template::Expr filename => 'template.html', functions => { site_name => \&site_name, };
<TMPL_VAR EXPR="site_name()">
In reply to Re: Callbacks and templates.
by kappa
in thread Callbacks and templates.
by LukeyBoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |