in reply to Re^4: Mojolicious HTMLTemplateProRenderer
in thread HTML::Template Plugin

Hi, I know the code would work with the "SelfLoader", I am trying to make it work without any template code attached to the Perl code, and load it separated, this template code would be in its own directory, like in /templates or something. Thanks!

Hi,

Look closer at Re^3: Mojolicious HTMLTemplateProRenderer, look at the perl foo.pl calls, I'm showing that it works

On first run, template from __DATA__ is used

On second run, after I rename not_templates to templates, templates/hi.html.tmpl is used

On third run, after I rename not_exists to exists, exists/hi.html.tmpl is used