BSD Ports

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

SystemPortVersion
FreeBSDdevel/p5-Carp1.50
NetBSDdevel/p5-Carp1.50nb8
DragonFlydevel/p5-Carp1.50
HardenedBSDdevel/p5-Carp1.50
GhostBSDdevel/p5-Carp1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.501.501.501.501.50
FreeBSD:14:quarterly1.501.50n/a1.501.50
FreeBSD:15:latest1.501.50n/a1.501.50
FreeBSD:15:quarterly1.501.50n/an/an/a
FreeBSD:16:latest1.501.50n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
Carp-1.50.tar.gz24894f5273b4e1a6d51b22996c48cb3a3cbc72fd456c4038f5c20b127e2d4bcbcebd9
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.