<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Happy New Year Dancers,</div><div><br></div>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:<div><br><div><div>template: template_toolkit</div><div>engines:</div><div> template_toolkit:</div><div> start_tag: '[%'</div><div> stop_tag: '%]'</div></div><div> eval_perl: 1</div><div><br></div><div>Even better would be a way to enable it for just one template. For example, would something like</div><div><pre style="word-wrap: break-word; white-space: pre-wrap;">my $template = Template->new(
START_TAG => '[%',
<span style="font-family: Calibri, sans-serif; font-size: 12pt;">STOP_TAG</span><span style="font-family: Calibri, sans-serif; font-size: 12pt;"> => </span><span style="font-family: Calibri, sans-serif; font-size: 12pt;">'%]'</span><span style="font-family: Calibri, sans-serif; font-size: 12pt;">,</span><br> <span style="font-family: Calibri, sans-serif; font-size: 12pt;">EVAL_PERL </span><span style="font-family: Calibri, sans-serif; font-size: 12pt;">=> 1</span>
);</pre><pre style="word-wrap: break-word; white-space: pre-wrap;"><span style="font-family: Calibri, sans-serif; font-size: 12pt;">fit in a route? How would $template work with respect to the normal 'template' keyword?</span></pre></div><div>Thanks for any help!</div><div>Matt</div></div>                                            </div></body>
</html>