Dancer and TT config

Quick note to self (and anyone that might be listening): When setting config options different than start and end tag for TT such as PRE_PROCESS in Dancer, you must make them all caps.

e.g. config.yaml:
# template engine
template: "template_toolkit"
     encoding:  'utf8'
     start_tag: '[%'
     end_tag:   '%]'
     PRE_PROCESS: ''


Popular posts from this blog

BootstrapX clickover

2 ways to get SQLite to put dates into columns

Template Toolkit Debugging inside of Perl Dancer