Hi, it's an option you must pass to your constructor.
my $tt2 = Template->new({ EVAL_PERL => 1 });
Hope this helps!
In reply to Re: Execute perl in template file
by 1nickt
in thread Execute perl in template file
by nomad.dexter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |