Sam Vilain > IO-Plumbing > IO::Plumbing::Vent

Download:
IO-Plumbing-0.08.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

IO::Plumbing::Vent - lets data flow freely away somewhere harmless

SYNOPSIS ^

 use IO::Plumbing qw(plumb vent);

 # ignore stderr from that command!
 my $output = plumb(program => "find", args=>[qw"/ -print0"],
                    stderr => vent);

 {
    local($/) = \0;
    while (<$output>) {
       print "Read a filename: '$_'\n";
    }
 }
 $output->wait;

DESCRIPTION ^

Degenerate IO::Plumbing object.

WARNING ^

This module has no tests!

AUTHOR AND LICENCE ^

Copyright 2007, Sam Vilain. All Rights Reserved. This program is free software; you can use it and/or modify it under the same terms as Perl itself.

syntax highlighting: