BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Test-Trap0.3.5 newestno data-[email protected]-
FreeBSDdevel/p5-Test-Trap0.3.5 newestnone known-[email protected]-
OpenBSDdevel/p5-Test-Trap0.3.5 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-Test-Trap0.3.5nb4 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Test-Trap0.3.5 newestnone known-[email protected]-
HardenedBSDdevel/p5-Test-Trap0.3.5 newestno data-[email protected]-
GhostBSDdevel/p5-Test-Trap0.3.5 newestno data-[email protected]-

Compare across BSDs

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

Runtime 1

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
FileSizeSHA256
Test-Trap-v0.3.5.tar.gz5560054f99016562b5b1d72110100f1f2be437178cdf84376f495ffd0376f1d7ecb9a
Master sites 1
  • CPAN