++ed by:
XIAODONG BHANN IONCACHE PJF SHLOMIF

59 PAUSE user(s)
70 non-PAUSE user(s).

Yanick Champoux
and 162 contributors

NAME

Dancer::Template - template wrapper for Dancer

VERSION

version 1.3134

DESCRIPTION

This module is the wrapper that provides support for different template engines.

USAGE

Default engine

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.

Configuration

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';

AUTHORS

This module has been written by Alexis Sukrieh. See the AUTHORS file that comes with this distribution for details.

LICENSE

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

SEE ALSO

See Dancer for details about the complete framework.

You can also search the CPAN for existing engines in the Dancer::Template namespace.

AUTHOR

Dancer Core Developers

COPYRIGHT AND LICENSE

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.