![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Dancer2 Template Toolkit interpolationby cLive ;-) (Prior) |
on Dec 20, 2016 at 06:35 UTC ( #1178159=perlquestion: print w/replies, xml ) | Need Help?? |
cLive ;-) has asked for the wisdom of the Perl Monks concerning the following question: EDIT: I worked it out. I thought Dancer2 defaulted to Template::Toolkit. It doesn't. Once I switched the templating engine, it worked as expected. I'm making a simple Dancer2 App. I have the following data getting sent to the template:
And in the template I have:
When I load the view though, I see $ed and $ad, but all I see where I expect to see the voters is a bunch of HASH(0x409acc8) interpolations. What am I doing wrong? It's probably something simple, but I can't see it. Any ideas?
Back to
Seekers of Perl Wisdom
|
|