Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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 ( #1089416=note: print w/replies, xml ) Need Help??


in reply to Re: Dancer2 - How to loop over a ref to a HoH (template engine?)
in thread Dancer2 - How to loop over a ref to a HoH

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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1089416]
help
Chatterbox?
[Discipulus]: yes, some semantic for the searxh must implemented before using such kind of query
[Corion]: Yeah - I have either to come up with a better search query or simply steal the template of some other file download site... I'm thinking of turning the JSON for Strawberry Perl releases into a small website that offers the files for download, with a ...
[Corion]: ... separate page per release, and potentially RSS for the versions

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-02-28 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (398 votes). Check out past polls.