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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-Carp | 1.50 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-Carp | 1.50 newest | none known | - | [email protected] | - |
| NetBSD | devel/p5-Carp | 1.50nb8 newest | none known | - | [email protected] | 2026-07-16 |
| HardenedBSD | devel/p5-Carp | 1.50 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Carp | 1.50 newest | no data | - | [email protected] | - |
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.