devel/p5-IO-MultiPipe 0.0.0_1 FreeBSD
Check for errors when running a command through multiple pipes
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, perl5
- Package size
- 5.3 KiB, 7.2 KiB installed
Description
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');
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-IO-MultiPipe | 0.0.0_1 |
| DragonFly | devel/p5-IO-MultiPipe | 0.0.0_1 |
| HardenedBSD | devel/p5-IO-MultiPipe | 0.0.0_1 |
| GhostBSD | devel/p5-IO-MultiPipe | 0.0.0_1 |
Install
Binary package:
pkg install p5-IO-MultiPipe
From the ports tree:
cd /usr/ports/devel/p5-IO-MultiPipe/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-IO-MultiPipe>0:devel/p5-IO-MultiPipe
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.0.0_1 | 0.0.0_1 | 0.0.0_1 | 0.0.0_1 | 0.0.0_1 |
| FreeBSD:14:quarterly | 0.0.0_1 | 0.0.0_1 | n/a | 0.0.0_1 | 0.0.0_1 |
| FreeBSD:15:latest | 0.0.0_1 | 0.0.0_1 | n/a | 0.0.0_1 | 0.0.0_1 |
| FreeBSD:15:quarterly | 0.0.0_1 | 0.0.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.0.0_1 | 0.0.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/IO/MultiPipe.pm
- %%PERL5_MAN3%%/IO::MultiPipe.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| IO-MultiPipe-0.0.0.tar.gz | 3877 | e300e5ca4c8a80d563b6b75191bdb37bd0833d2d14b7ed6c970cee6a8c0dd17c |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.