| IO-Plumbing documentation | view source | Contained in the IO-Plumbing distribution. |
IO::Plumbing::Vent - lets data flow freely away somewhere harmless
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;
Degenerate IO::Plumbing object.
This module has no tests!
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. |