What's wrong with it? Mojolicious is a framework that does the template locating and rendering for you, so a normal user of the framework never both with initializing a template object.
Instead one write a Mojolicious::Plugin::HTMLTemplateRenderer plugin which does all the rendering boilerplate, and then just use this plugin in the mojolicious application.
I've never written such a plugin, but there are plenty examples on CPAN that you can use as templates.
In reply to Re^2: Mojolicious and HTML::Template
by moritz
in thread Mojolicious and HTML::Template
by celebithil
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |