in reply to Dancer2 - How to loop over a ref to a HoH

What template engine?
  • Comment on Re: Dancer2 - How to loop over a ref to a HoH (template engine?)

Replies are listed 'Best First'.
Re^2: Dancer2 - How to loop over a ref to a HoH (template engine?)
by fishmonger (Chaplain) on Jun 10, 2014 at 14:34 UTC

    I was using Dancer's "simple" engine, which clearly doesn't parse the template vars the same as TT. I guess I was a little tired and not thinking clearly, because that fact should have been obvious.

    Once I changed the engine to "Template_Toolkit" in config.yml and corrected the syntax in the template files it worked correctly.

    Thanks