×

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.

Uploaded Tue Apr 1 02:00:57 2025
md5 checksum 1c6dbae501e864b2b1a7b2719410a4c4
build 5
build_number 5
depends perl-amzn2-aarch64 5.16.3, perl-exporter-amzn2-aarch64 5.68
license GPL+ or Artistic
license_family GPL
md5 1c6dbae501e864b2b1a7b2719410a4c4
name perl-carp-amzn2-aarch64
noarch generic
sha1 6b50339ba12ab77bb386acdd64cdbc4abd5ffa89
sha256 62b9280f30342e9096effe8206099d6463ca0851e8fe06d2fe5994487c023ecb
size 17315
subdir noarch
timestamp 1620061739610
version 1.26