Smooth over incompatible changes in Carp 1.25
85.68 KB
built 2026-10-16 17:16:36 GMT
Description
Carp 1.25 made a change to its formatting, adding a period at the end of the
message. This can mess up tests and code that are looking for error messages.
Carp::Fix::1_25 makes the message consistent, regardless of what version of
Carp you're using.
Carp::Fix::1_25 exports its own carp functions, which change the Carp message
to match the 1.25 version. Carp::Fix::1_25 otherwise acts exactly like Carp and
it will honor Carp global variables such as @CARP_NOT and %Carp::Internal.
Why do this instead of just upgrading Carp? Upgrading Carp would affect all
installed code all at once. You might not be ready for that, or you might not
want your module to foist that on its users. This lets you fix things one
namespace at a time.
Dependencies
14 totalRequires13
- coreutils
- perl(Carp)
- perl(Exporter)
- perl(Module::Build) >= 0.36
- perl(Test::More) >= 0.88
- perl(lib)
- perl(strict)
- perl(warnings)
- perl-generators
- perl-interpreter
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- sed
Provides1
- perl-Carp-Fix-1_25 = 1.000001-38.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
2Name ![]() |
Size |
|---|---|
| Carp-Fix-1_25-1.000001.tar.gz | 68.28 KB |
| perl-Carp-Fix-1_25.spec | 6.96 KB |
Files 1–2 of 2
Component of
buildroots that installed this RPMNo Buildroots
