++ed by:

1 non-PAUSE user.

藤 吾郎
and 1 contributors

NAME

Text::Clevery - Smarty compatible template engine on Xslate

VERSION

This document describes Text::Clevery version 0.0004.

SYNOPSIS

    use Text::Clevery;

    my $tc = Text::Clevery->new();

    my %vars = (
        lang => 'Smarty',
    );

    # pass a PSGI request
    my $psgi_env = {};
    print $tc->render_string('Hello, {$lang} world!',
        \%vars, env => $psgi_env);

    # or pass a request object
    my $request = Plack::Request->new($psgi_env);
    print $tc->render_string('Hello, {$lang} world',
        \%vars, request => $request);

DESCRIPTION

Text::Clevery is a Smarty compatible template engine implemented on Xslate.

This software is under development. Feel free to send any feature requests and/or bug reports.

INTERFACE

This is a subclass of Text::Xslate. See Text::Xslate for details

COMPATIBILITY

Unsupported features

There are unsupported features, listed as follows.

  • {include_php}

  • {insert}

  • {php}

  • {section}

  • {strip}

  • {assign}

  • {debug}

  • {eval}

  • {fetch}

  • {mailto}

  • {math}

  • {popup}

  • {popup_init}

  • {textformat}

DEPENDENCIES

Perl 5.8.1 or later.

BUGS

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

SEE ALSO

Text::Xslate

http://www.smarty.net/

AUTHOR

Fuji, Goro (gfx) <gfuji(at)cpan.org>

LICENSE AND COPYRIGHT

Copyright (c) 2010, Fuji, Goro (gfx). All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic for details.