Alexis Sukrieh > Dancer-1.9999_01 > Dancer::Template::TemplateToolkit

Download:
Dancer-1.9999_01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.9999_01   Source   Latest Release: Dancer-1.3126

NAME ^

Dancer::Template::TemplateToolkit - Template toolkit engine for Dancer

VERSION ^

version 1.9999_01

SYNOPSIS ^

To use this engine, you may configure Dancer via config.yaml:

    template:   "template_toolkit"

Or you may also change the rendering engine on a per-route basis by setting it manually with set:

    # code code code
    set template => 'template_toolkit';

METHODS ^

render TEMPLATE, TOKENS

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.

AUTHOR ^

Dancer Core Developers

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: