|No such thing as a small change|
Re: Dancer2 Template Toolkit interpolationby kcott (Archbishop)
|on Dec 20, 2016 at 09:22 UTC||Need Help??|
G'day cLive ;-),
By using the data structure you show ($vars in my code below), I'm getting the type of output I assume you're expecting. So, given the code and data you show, I can't reproduce your problem.
By making a change to that data structure ($vars2), I can reproduce the type of output you're describing.
"I have the following data getting sent to the template"
I'd first confirm that with Data::Dumper (or similar). If that gets you nowhere, try hard-coding that hashref to see if you get the same results. You could also try running my test code, as is, and see if you're getting the same output as me.
Here's my test code: