p5-IO-MultiPipe-0.0.0_1.txz


Advertisement

Description

p5-IO-MultiPipe - Check for errors when running a command through multiple pipes

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly amd64
Package filename p5-IO-MultiPipe-0.0.0_1.txz
Package name p5-IO-MultiPipe
Package version 0.0.0
Package release 1
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/IO-MultiPipe
License -
Maintainer vvelox@vvelox.net
Download size 5.07 KB
Installed size 7.39 KB
Normally if a part of a pipe fails, depending on the location, it won't
be detected. This breaks down a command involving pipes and runs each
command separately.
It uses open3 to run each chunk of the pipe.
use IO::MultiPipe;
my $pipes = IO::MultiPipe->new();
#This sets the pipe that will be run.
$pipes->set('sed s/-// | sed s/123/abc/ | sed s/ABC/abc/');
if ($pipes->{error}){
print "Error!\n";
}
#'123-ABCxyz' through the command set above.
my $returned=$pipes->run('123-ABCxyz');
WWW: https://metacpan.org/release/IO-MultiPipe

Alternatives

Package Version Architecture Repository
p5-IO-MultiPipe-0.0.0_1.txz 0.0.0 i386 FreeBSD Ports Quarterly
p5-IO-MultiPipe-0.0.0_1.txz 0.0.0 amd64 FreeBSD Ports Latest
p5-IO-MultiPipe-0.0.0_1.txz 0.0.0 i386 FreeBSD Ports Latest
p5-IO-MultiPipe - - -

Requires

Name Value
perl5 = 5.28.1_1

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-IO-MultiPipe-0.0.0_1.txz
Source Package devel/p5-IO-MultiPipe

Install Howto

Install p5-IO-MultiPipe txz package:

# pkg install p5-IO-MultiPipe

See Also

Package Description
p5-IO-Multiplex-1.16.txz IO::Multiplex - Manage IO on many file handles
p5-IO-NestedCapture-1.03_1.txz Perl module for performing nested STD\* handle captures
p5-IO-Null-1.01_1.txz IO::Null - class for null filehandles
p5-IO-Pager-0.43.txz Select a pager, optionally pipe it output if destination is a TTY
p5-IO-Pipely-0.005_2.txz Portably create pipe() or pipe-like handles, one way or another
p5-IO-Prompt-0.997004.txz Interactively prompt for user input
p5-IO-Prompt-Simple-0.07.txz Simple interface for user input
p5-IO-Prompt-Tiny-0.003.txz Prompt for user input with a default option
p5-IO-Prompter-0.004015.txz Prompt for input, read it, clean it, return it
p5-IO-Pty-Easy-0.10.txz Easy interface to IO::Pty
p5-IO-SessionData-1.03_1.txz Supporting module for SOAP::Lite
p5-IO-Socket-INET6-2.72_1.txz Perl module with object interface to AF_INET6 domain sockets
p5-IO-Socket-IP-0.39.txz Drop-in replacement for IO::Socket::INET supporting IPv4 and IPv6
p5-IO-Socket-Multicast-1.12_2.txz Perl module to send and receive multicast messages
p5-IO-Socket-Multicast6-0.03_2.txz Send and receive IPv4 and IPv6 multicast messages
Advertisement
Advertisement