Dancer

 view release on metacpan or  search on metacpan

lib/Dancer/Template/TemplateToolkit.pm  view on Meta::CPAN

    # ...
    engines:
        template_toolkit:
            WRAPPER: layouts/main.tt

=back

Done! Everything will work fine out of the box, including variables and META
variables.

=head1 EMBEDDED TEMPLATES

You can embed your templates in your script file, to get a self-contained dancer
application in one file (inspired by L<http://advent.perldancer.org/2011/3>).

To enable this:

    # in app.pl
    # ...
    set engines => {
        template_toolkit => {



( run in 1.540 second using v1.01-cache-2.11-cpan-71847e10f99 )