devel/p5-Test-Trap 0.3.5 MidnightBSD
Trap exit codes, exceptions, output, etc
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+
- Categories
- devel, perl5
Description
Test::Trap is primarily (but not exclusively) for use in test scripts: a block eval on steroids, configurable and extensible, but by default trapping (Perl) STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values from boxed blocks of test code.
The values collected by the latest trap can then be queried or tested through a special trap object.
In the other systems
The newest version among them is 0.3.5, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-Test-Trap | 0.3.5 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-Test-Trap | 0.3.5 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Test-Trap | 0.3.5 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/p5-Test-Trap | 0.3.5nb4 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-Test-Trap | 0.3.5 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Test-Trap | 0.3.5 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Test-Trap | 0.3.5 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install p5-Test-Trap
From mports:
cd /usr/mports/devel/p5-Test-Trap && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Test-Trap>0:devel/p5-Test-Trap
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
p5-Data-Dump>=0: devel/p5-Data-Dump
Runtime 1
p5-Data-Dump>=0: devel/p5-Data-Dump
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 10
- %%SITE_PERL%%/Test/Trap.pm
- %%SITE_PERL%%/Test/Trap/Builder.pm
- %%SITE_PERL%%/Test/Trap/Builder/PerlIO.pm
- %%SITE_PERL%%/Test/Trap/Builder/SystemSafe.pm
- %%SITE_PERL%%/Test/Trap/Builder/TempFile.pm
- %%PERL5_MAN3%%/Test::Trap.3.gz
- %%PERL5_MAN3%%/Test::Trap::Builder.3.gz
- %%PERL5_MAN3%%/Test::Trap::Builder::PerlIO.3.gz
- %%PERL5_MAN3%%/Test::Trap::Builder::SystemSafe.3.gz
- %%PERL5_MAN3%%/Test::Trap::Builder::TempFile.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Test-Trap-v0.3.5.tar.gz | 55600 | 54f99016562b5b1d72110100f1f2be437178cdf84376f495ffd0376f1d7ecb9a |
Master sites 1
- CPAN