Debian Codegraph @

debian/control

raw
1 Source: libcarp-fix-1-25-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: Xavier Guimard <[email protected]>
4 Section: perl
5 Testsuite: autopkgtest-pkg-perl
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13),
8 libmodule-build-perl,
9 perl
10 Standards-Version: 3.9.6
11 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libcarp-fix-1-25-perl
12 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libcarp-fix-1-25-perl.git
13 Homepage: https://metacpan.org/release/Carp-Fix-1_25
14
15 Package: libcarp-fix-1-25-perl
16 Architecture: all
17 Depends: ${misc:Depends},
18 ${perl:Depends}
19 Multi-Arch: foreign
20 Description: Perl module to smooth over incompatible changes in Carp 1.25
21 Carp 1.25 made a change to its formatting, adding a period at the end of the
22 message. This can mess up tests and code that are looking for error messages.
23 Carp::Fix::1_25 makes the message consistent, regardless of what version of
24 Carp you're using.
25 .
26 Carp::Fix::1_25 exports its own carp functions which change the Carp message
27 to match the 1.25 version. Carp::Fix::1_25 otherwise acts exactly like Carp
28 and it will honor Carp global variables|Carp/GLOBAL VARIABLES such as
29 @CARP_NOT and %Carp::Internal.
30 .
31 Why do this instead of just upgrading Carp? Upgrading Carp would affect all
32 installed code all at once. You might not be ready for that, or you might not
33 want your module to foist that on its users. This lets you fix things one
34 namespace at a time.