Alternative warn and die for modules
50.09 KB
built 2026-10-16 17:15:03 GMT
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.
Dependencies
18 totalRequires16
- coreutils
- make
- perl(B)
- perl(Config)
- perl(Data::Dumper)
- perl(Exporter)
- perl(ExtUtils::MakeMaker) >= 6.76
- perl(IPC::Open3)
- perl(Test::More) >= 0.47
- perl(overload)
- perl(strict)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- perl-Carp = 1.54-527.fc45
- perl-Carp-tests = 1.54-527.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
4Name ![]() |
Size |
|---|---|
| Carp-1.50-Upgrade-to-1.52.patch | 4.78 KB |
| Carp-1.50.tar.gz | 24.31 KB |
| Carp-1.52-Upgrade-to-1.54.patch | 2.54 KB |
| perl-Carp.spec | 10.82 KB |
Files 1–4 of 4
Component of
buildroots that installed this RPMNo Buildroots
