PerlIO::via::Pipe - PerlIO layer to filter input through a Text::Pipe
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";
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.
set_io_pipe
Pipe
If you talk about this module in blogs, on del.icio.us or anywhere else, please use the perlioviapipe tag.
perlioviapipe
This document describes version 0.01 of PerlIO::via::Pipe.
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.
<bug-perlio-via-pipe@rt.cpan.org
See perlmodinstall for information and options on installing Perl modules.
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/>.
Marcel Grünauer, <marcel@cpan.org>
<marcel@cpan.org>
Copyright 2007 by Marcel Grünauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install PerlIO::via::Pipe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlIO::via::Pipe
CPAN shell
perl -MCPAN -e shell install PerlIO::via::Pipe
For more information on module installation, please visit the detailed CPAN module installation guide.