Dancer::Template::TemplateToolkit - Template toolkit engine for Dancer
version 2.0000_01
To use this engine, you may configure Dancer via config.yaml:
config.yaml
template: "template_toolkit"
Or you may also change the rendering engine on a per-route basis by setting it manually with set:
set
# code code code set template => 'template_toolkit';
Renders the template. The first arg is a filename for the template file or a reference to a string that contains the template. The second arg is a hashref for the tokens that you wish to pass to Template::Toolkit for rendering.
Dancer Core Developers
This software is copyright (c) 2012 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dancer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer
CPAN shell
perl -MCPAN -e shell install Dancer
For more information on module installation, please visit the detailed CPAN module installation guide.