Alternative warn and die for modules

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.
RPM
perl-Carp-1.54-512.fc42.noarch.rpm
Summary
Alternative warn and die for modules
URL
https://metacpan.org/release/Carp
Group
Unspecified
License
GPL-1.0-or-later OR Artistic-1.0-Perl
Source
perl-Carp-1.54-512.fc42.src.rpm
Checksum
6d27df5b4450c846dd346f7f06d898c2ccbc479b1793b9866d3a948f5d2fb132
Build Date
2025/01/18 10:45:59
Requires
Provides
perl(Carp) = 1.54
perl(Carp::Heavy) = 1.54
perl-Carp = 1.54-512.fc42