dancer template_toolkit eval_perl config option???
3 Jan
2013
3 Jan
'13
7:12 a.m.
Happy New Year Dancers, Disregarding whether it is a good idea or not , is there a way to set eval_perl => 1 in Template Toolkit for Dancer? It didn't seem to work in the app config.yml file, which I tried like so: template: template_toolkitengines: template_toolkit: start_tag: '[%' stop_tag: '%]' eval_perl: 1 Even better would be a way to enable it for just one template. For example, would something likemy $template = Template->new( START_TAG => '[%', STOP_TAG => '%]', EVAL_PERL => 1 );fit in a route? How would $template work with respect to the normal 'template' keyword?Thanks for any help!Matt
4691
Age (days ago)
4691
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matthew Polly