30 Dec
2010
30 Dec
'10
5:14 p.m.
Hi Folks, Template toolkit allows me to set variables inside a template and then access them from the wrapper: http://www.template-toolkit.org/docs/manual/Config.html#section_WRAPPER This doesn't seem to when using Template Toolkit with Dancer. e.g. in the index.tt that dancer generates, I added: <% foo = "bar" %> on the first line and tried to access it from main.tt <title><% foo %></title> But it comes out as blank. Is dancer doing something special with the wrapper or am I doing something wrong? Thanks, Deepak