devel/p5-Carp 1.50 FreeBSD
Alternative warn and die for modules
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 21.6 KiB, 47.9 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Carp | 1.50 |
| NetBSD | devel/p5-Carp | 1.50nb8 |
| DragonFly | devel/p5-Carp | 1.50 |
| HardenedBSD | devel/p5-Carp | 1.50 |
| GhostBSD | devel/p5-Carp | 1.50 |
Install
Binary package:
pkg install p5-Carp
From the ports tree:
cd /usr/ports/devel/p5-Carp/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Carp>0:devel/p5-Carp
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.50 | 1.50 | 1.50 | 1.50 | 1.50 |
| FreeBSD:14:quarterly | 1.50 | 1.50 | n/a | 1.50 | 1.50 |
| FreeBSD:15:latest | 1.50 | 1.50 | n/a | 1.50 | 1.50 |
| FreeBSD:15:quarterly | 1.50 | 1.50 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.50 | 1.50 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
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 3
- %%SITE_PERL%%/Carp.pm
- %%SITE_PERL%%/Carp/Heavy.pm
- %%PERL5_MAN3%%/Carp.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Carp-1.50.tar.gz | 24894 | f5273b4e1a6d51b22996c48cb3a3cbc72fd456c4038f5c20b127e2d4bcbcebd9 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.