in reply to Re: Mojolicious and HTML::Template
in thread Mojolicious and HTML::Template

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.