Template::Plugin::Filter::Pipe - Filter plugin adapter for Text::Pipe


Template-Plugin-Filter-Pipe documentation  | view source Contained in the Template-Plugin-Filter-Pipe distribution.

Index


NAME

Top

Template::Plugin::Filter::Pipe - Filter plugin adapter for Text::Pipe

VERSION

Top

version 1.100860

SYNOPSIS

Top

    [%- USE Filter.Pipe -%]
    [%- 'a test' | pipe("Uppercase") |
        pipe("Repeat", times => 2, join => " = ") |
        pipe("Reverse") -%]
    EOTMPL

DESCRIPTION

Top

This Template Toolkit filter plugin is an adapter for Text::Pipe. The default filter name is pipe, but you can override this with the USE directive.

When using the filter, you need to pass the name of the pipe segment you would like to create, and optionally named arguments to be passed to the pipe.

See Text::Pipe and its derived distributions for more detail on which pipe segments are available and which arguments they take.

METHODS

Top

init

Overridden method - see Template::Plugin::Filter for details.

filter

Overridden method - see Template::Plugin::Filter for details.

INSTALLATION

Top

See perlmodinstall for information and options on installing Perl modules.

BUGS AND LIMITATIONS

Top

No bugs have been reported.

Please report any bugs or feature requests through the web interface at http://rt.cpan.org/Public/Dist/Display.html?Name=Template-Plugin-Filter-Pipe.

AVAILABILITY

Top

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see http://search.cpan.org/dist/Template-Plugin-Filter-Pipe/.

The development version lives at http://github.com/hanekomu/Template-Plugin-Filter-Pipe/. Instead of sending patches, please fork this project using the standard git and github infrastructure.

AUTHOR

Top

  Marcel Gruenauer <marcel@cpan.org>

COPYRIGHT AND LICENSE

Top


Template-Plugin-Filter-Pipe documentation  | view source Contained in the Template-Plugin-Filter-Pipe distribution.