Is there a Catalyst tutorial that uses HTML :: Template instead of TT?

I have been looking through several Catalyst tutorials and they are all inclined to use the Template Toolkit instead of HTML :: Template.

I spent a lot of time on HTML :: Template, and I like it, and while I see the power of TT, I don’t know, and it seems to me that I will learn two things at once; plus, because it does its processing in the template, I'm not sure where my HTML code is: Template $template->param(foo => \$bar); will even go!

Does anyone know a good sample tutorial / code using HTML :: Template?

+7
perl catalyst template-toolkit perl-html-template
source share
1 answer

Of course, the documentation for Catalyst :: View :: HTML :: Template is a bit rare, and this is not a tutorial as such, but it covers the basic HTML :: Template settings ( die_on_bad_params , etc.) and indicates that "template parameters are configured from the contents of $ c-> stash ", which looks to me what it should be enough to get started.

+16
source share

All Articles