Text::Xslate::Bridge::TT2LikwTT2 Variable Method Clone For Text::Xslate | |
Download |
Text::Xslate::Bridge::TT2Likw Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Publisher Name:
- Daisuke Maki
- Publisher web site:
- http://search.cpan.org/~dmaki/
Text::Xslate::Bridge::TT2Likw Tags
Text::Xslate::Bridge::TT2Likw Description
TT2 Variable Method Clone For Text::Xslate Text::Xslate::Bridge::TT2Like is a Perl module that exports Template-Toolkit variable methods into Text::Xslate namespace, such that you can use them on your variables.The only difference between this module and Text::Xslate::Bridge::TT2 is that Bridge::TT2 uses Template::Toolkit underneath, while this module is independent of Template::Toolkit and therefore does not require TT to be installed.SYNOPSIS use Text::Xslate; my $xslate = Text::Xslate->new( module => , ); # Note that all methods require a set of parenthesis to be # recognized as a method. $xslate->render_string( '< : $foo.length() : >', { foo => "foo" } ); $xslate->render_string( '< : $foo.replace("foo", "bar") : >', { foo => "foo" } ); Requirements: · Perl
Text::Xslate::Bridge::TT2Likw Related Software