NAME
Text::Xslate::Bridge::TT2 - Template-Toolkit virtual methods for Xslate
VERSION
This document describes Text::Xslate::Bridge::TT2 version 1.0000.
SYNOPSIS
use Text::Xslate::Bridge::TT2;
my $xslate = Text::Xslate->new(
function => { Text::Xslate::Bridge::TT2->methods },
);
print $xslate->render_string('<: "foo".length() :>'); # => 3
DESCRIPTION
Template-Toolkit sucks, but has a few useful features. Virtual methods is such a feature. This module provides Xslate with Template-Toolkit virtual methods.
INTERFACE
Class methods
Text::Xslate::Bridge::TT2->methods() -> %methods
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
AUTHOR
Goro Fuji (gfx) <gfuji(at)cpan.org>
LICENSE AND COPYRIGHT
Copyright (c) 2010, Goro Fuji (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.