NAME
PerlIO::via::Pipe - PerlIO layer to filter input through a Text::Pipe
SYNOPSIS
use PerlIO::via::Pipe 'set_io_pioe';
use Text::Pipe 'pipe';
my $pipe = pipe(...) | pipe(...);
open my $file, '<:via(Pipe)', 'foo.txt'
or die "can't open foo.txt $!\n";
DESCRIPTION
This package implements a PerlIO layer for reading files only. It exports, on request, a function set_io_pipe
that you can use to set a Text::Pipe pipe. If you then use the Pipe
layer as shown in the synopsis, the input gets filtered through the pipe.
TAGS
If you talk about this module in blogs, on del.icio.us or anywhere else, please use the perlioviapipe
tag.
VERSION
This document describes version 0.02 of PerlIO::via::Pipe.
BUGS AND LIMITATIONS
No bugs have been reported.
Please report any bugs or feature requests to <bug-perlio-via-pipe@rt.cpan.org
>, or through the web interface at http://rt.cpan.org.
INSTALLATION
See perlmodinstall for information and options on installing Perl modules.
AVAILABILITY
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://www.perl.com/CPAN/authors/id/M/MA/MARCEL/>.
AUTHOR
Marcel Grünauer, <marcel@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2007-2008 by Marcel Grünauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.