Alex J. G. Burzyński > MojoX-Renderer-Alloy > MojoX::Renderer::Alloy::Tmpl

Download:
MojoX-Renderer-Alloy-1.121150.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.121150   Source  

NAME ^

MojoX::Renderer::Alloy::Tmpl - Template::Alloy's Text::Tmpl renderer

VERSION ^

version 1.121150

SYNOPSIS ^

Mojolicious

    $self->plugin( 'alloy_renderer',
        {
            syntax => 'Tmpl',
        }
    );

Mojolicious::Lite

    plugin( 'alloy_renderer',
        {
            syntax => 'Tmpl',
        }
    );

DESCRIPTION ^

    <a href="#[ echo h.url_for('about_us') ]#">Hello!</a>

    #[include "include.inc"]#

Use Template::Alloy::Tmpl for rendering.

Please see Mojolicious::Plugin::AlloyRenderer for configuration options.

Note: default delimiters (START_TAG and END_TAG) are #[ and ]#.

SEE ALSO ^

Please see those modules/websites for more information related to this module.

AUTHOR ^

Alex J. G. Burzyński <ajgb@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Alex J. G. Burzyński <ajgb@cpan.org>.

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: