p5-IO-MultiPipe
0.0.0_1Check for errors when running a command through multiple pipes
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');
Origin: devel/p5-IO-MultiPipe
Category: devel
Size: 7.20KiB
License: not specified
Maintainer: vvelox@vvelox.net
Dependencies: 1 packages
Required by: 0 packages
Website: metacpan.org/release/IO-MultiPipe
$
pkg install p5-IO-MultiPipeDependencies (1)
More in devel
ruby33-gems3.7.2
Package management framework for the Ruby languagegettext-runtime0.26
GNU gettext runtime libraries and programsglib2.84.4,2
Some useful routines of C programming (current stable version)desktop-file-utils0.28
Couple of command line utilities for working with desktop entriesqt6-base6.10.1_1
Qt base (core, gui, widgets, network,...)qt5-core5.15.18p109
Qt core non-graphical module (KDE patched)rubygem-aws-sigv41.12.1
Amazon Web Services Signature Version 4 signing libraryphp84-pear1.10.17
PEAR framework for PHPrubygem-aws-sdk-core3.240.0
AWS SDK for Ruby - Corephp82-pear1.10.17
PEAR framework for PHP