BSD Ports

devel/p5-Carp 1.50 DragonFly

Alternative warn and die for modules

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
20.9 KiB, 48.1 KiB installed

Description

The Carp routines are useful in your own modules because they act like die() or warn(), but with a message which is more likely to be useful to a user of your module. In the case of cluck, confess, and longmess that context is a summary of every call in the call-stack. For a shorter message you can use carp or croak which report the error as being from where your module was called. There is no guarantee that that is where the error was, but it is a good educated guess.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Carp1.50 newestnone known-[email protected]-
FreeBSDdevel/p5-Carp1.50 newestnone known-[email protected]-
NetBSDdevel/p5-Carp1.50nb8 newestnone known-[email protected]2026-07-16
HardenedBSDdevel/p5-Carp1.50 newestno data-[email protected]-
GhostBSDdevel/p5-Carp1.50 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Carp

From DPorts:

cd /usr/dports/devel/p5-Carp && make install clean

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

Run dependencies 1