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                                     
    
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to