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


IO-Plumbing documentation  | view source Contained in the IO-Plumbing distribution.

Index


NAME

Top

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

SYNOPSIS

Top

 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

Top

Degenerate IO::Plumbing object.

WARNING

Top

This module has no tests!

AUTHOR AND LICENCE

Top

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.


IO-Plumbing documentation  | view source Contained in the IO-Plumbing distribution.