The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dancer::Template::TemplateToolkit - Template Toolkit wrapper for Dancer

DESCRIPTION

This class is an interface between Dancer's template engine abstraction layer and the Template module.

This template engine is recomended for production purposes, but depends on the Template module.

In order to use this engine, use the template setting:

    template: template_toolkit

This can be done in your config.yml file or directly in your app code with the set keyword.

Note that by default, Dancer configures the Template::Toolkit engine to use <% %> brackets instead of its default [% %] brackets. This can be changed within your config file - for example:

    template: template_toolkit
    engines:
        template_toolkit:
            start_tag: '[%'
            stop_tag: '%]'

SEE ALSO

Dancer, Template

AUTHOR

This module has been written by Alexis Sukrieh

LICENSE

This module is free software and is released under the same terms as Perl itself.