藤 吾郎 > Text-Xslate-Bridge-Alloy > Text::Xslate::Bridge::Alloy

Download:
Text-Xslate-Bridge-Alloy-1.0001.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.0001   Source  

NAME ^

Text::Xslate::Bridge::Alloy - Template::Alloy virtual methods for Xslate

VERSION ^

This document describes Text::Xslate::Bridge::Alloy version 1.0001.

SYNOPSIS ^

    use Text::Xslate::Bridge::Alloy;

    my $xslate = Text::Xslate->new(
        module => [ 'Text::Xslate::Bridge::Alloy' ],
    );

    print $xslate->render_string('<: "foo".length() :>'); # => 3

DESCRIPTION ^

Text::Xslate::Bridge::Alloy provides Xslate with Template::Alloy virtual methods.

Note that Template::Alloy does not distinguish methods and filters. That is, expr | foo is the same as expr.foo(). This module exports all the features as methods, so you must use the latter syntax even for filters.

INTERFACE ^

Class methods

Text::Xslate::Bridge::Alloy->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 ^

Text::Xslate

Template::Alloy

Template::Alloy::VMethod

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.

syntax highlighting: