in reply to Re^2: How to use Prel in HTML Template??
in thread How to use Perl in HTML Template?
my $tt = Template->new( INCLUDE_PATH => 'tpl/', TRIM => 1, WRAPPER => 'wrapper.tt', EVAL_PERL => 1, );
Also, you might want to consider changing your question's title... You're doing this with Template::Toolkit, but there's a different (and unrelated) Perl templating module called HTML::Template. I originally read your question expecting to answer that HTML::Template doesn't support Perl in templates at all.
|
|---|