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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-Carp-Assert-More | 2.9.0 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-Carp-Assert-More | 2.9.0 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-Carp-Assert-More | 2.9.0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/p5-Carp-Assert-More | 2.9.0nb1 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-Carp-Assert-More | 2.9.0 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Carp-Assert-More | 2.9.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Carp-Assert-More | 2.9.0 newest | no data | - | [email protected] | - |
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
p5-Test-Exception>=0: devel/p5-Test-Exception
Required by 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
| File | Size | SHA256 |
|---|---|---|
| Carp-Assert-More-2.9.0.tar.gz | 25903 | cdf7d445a2caeb55ff0a3f92f3b0f6d589a0bab935bb6028792e7e1261b48b14 |
Master sites 1
- CPAN