[dancer-users] In-code template configuration - order matters?

Richard Jones ra.jones at dpw.clara.co.uk
Thu Aug 27 09:18:45 BST 2015


On 26/08/2015 01:20, Yanick Champoux wrote:
> I would expect it's because the "set template => 'template_toolkit'"
> initialize the template engine, and since you haven't defined your
> custom arguments yet, it'll take in the defaults. And when you do pass
> your custom arguments on the next line, it's too late and won't be used.
>
Yet it doesn't seem to matter when the order is changed in config.yml 
(at least that's the case with [% %] tags). Why does that behave 
differently?

-- 
Richard Jones



More information about the dancer-users mailing list