Dancer::Template(3pm) | User Contributed Perl Documentation | Dancer::Template(3pm) |
Dancer::Template - template wrapper for Dancer
version 1.3521
This module is the wrapper that provides support for different template engines.
The default engine used by Dancer::Template is Dancer::Template::Simple. If you want to change the engine used, you have to edit the template configuration variable.
The template configuration variable tells Dancer which engine to use for rendering views.
You change it either in your config.yml file:
# setting TT as the template engine template: "template_toolkit"
Or in the application code:
# setting TT as the template engine set template => 'template_toolkit';
This module has been written by Alexis Sukrieh. See the AUTHORS file that comes with this distribution for details.
This module is free software and is released under the same terms as Perl itself.
See Dancer for details about the complete framework.
You can also search the CPAN for existing engines in the Dancer::Template namespace.
Dancer Core Developers
This software is copyright (c) 2010 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.
2023-02-10 | perl v5.36.0 |