BSD Ports

devel/p5-Carp-Assert-More 2.9.0 MidnightBSD

Convenience wrappers around Carp::Assert

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic2
Categories
devel, perl5

Description

Carp::Assert::More is a set of wrappers around the Carp::Assert functions to make the habit of writing assertions even easier.

Everything in here is effectively syntactic sugar. There's no technical reason to use

assert\_isa( $foo, 'HTML::Lint' );

instead of

assert( defined $foo );
assert( ref($foo) eq 'HTML::Lint' );

other than readability and simplicity of the code.

My intent here is to make common assertions easy so that we as programmers have no excuse to not use them.

In the other systems

The newest version among them is 2.9.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Carp-Assert-More2.9.0 newestno data-[email protected]-
FreeBSDdevel/p5-Carp-Assert-More2.9.0 newestnone known-[email protected]-
OpenBSDdevel/p5-Carp-Assert-More2.9.0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-Carp-Assert-More2.9.0nb1 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Carp-Assert-More2.9.0 newestnone known-[email protected]-
HardenedBSDdevel/p5-Carp-Assert-More2.9.0 newestno data-[email protected]-
GhostBSDdevel/p5-Carp-Assert-More2.9.0 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Carp-Assert-More

From mports:

cd /usr/mports/devel/p5-Carp-Assert-More && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Carp-Assert-More>0:devel/p5-Carp-Assert-More

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.

Test 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Carp/Assert/More.pm
  • %%PERL5_MAN3%%/Carp::Assert::More.3.gz
distinfo 1
FileSizeSHA256
Carp-Assert-More-2.9.0.tar.gz25903cdf7d445a2caeb55ff0a3f92f3b0f6d589a0bab935bb6028792e7e1261b48b14
Master sites 1
  • CPAN