-
-
26 Apr 2013 06:03:43 UTC
- Distribution: Text-Xslate-Bridge-TT2
- Module version: 1.0003
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (0)
- Testers (583 / 1 / 0)
- Kwalitee
Bus factor: 4- 94.44% Coverage
- License: perl_5
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (11.06KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Text::Xslate::Bridge::TT2 - Template-Toolkit virtual methods and filters for Xslate (deprecated)
VERSION
This document describes Text::Xslate::Bridge::TT2 version 1.0003.
SYNOPSIS
use Text::Xslate; my $xslate = Text::Xslate->new( module => ['Text::Xslate::Bridge::TT2'], ); print $xslate->render_string('<: "foo".length() :>'); # => 3
DESCRIPTION
This is a demo module to extend Text::Xslate::Brige. Use Text::Xslate::Bridge::TT2Like, which is a stand alone utilities compatible with TT2.
CAVEAT
Limitation of dynamic filters
All the dynamic filters require parens (i.e. to "call" them first), even if you want to omit their arguments.
[% FILTER repeat # doesn't work! %] [% FILTER repeat() # works. %]
Unsupported features
Filters that require Template-Toolkit context object are not supported, which include
eval
,evaltt
,perl
,evalperl
andredirect
.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
Fuji, Goro (gfx) <gfuji@cpan.org>
LICENSE AND COPYRIGHT
Copyright (c) 2010-2013, 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.
Module Install Instructions
To install Text::Xslate::Bridge::TT2, copy and paste the appropriate command in to your terminal.
cpanm Text::Xslate::Bridge::TT2
perl -MCPAN -e shell install Text::Xslate::Bridge::TT2
For more information on module installation, please visit the detailed CPAN module installation guide.