Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: libcarp-object-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: Damyan Ivanov <[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 Build-Depends-Indep: libclone-perl <!nocheck>,
11 libdevel-stacktrace-perl <!nocheck>,
12 libtest-simple-perl <!nocheck>
13 Standards-Version: 4.7.0
14 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libcarp-object-perl
15 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libcarp-object-perl.git
16 Homepage: https://metacpan.org/release/Carp-Object
17 Rules-Requires-Root: no
18
19 Package: libcarp-object-perl
20 Architecture: all
21 Depends: ${misc:Depends},
22 ${perl:Depends},
23 libclone-perl,
24 libdevel-stacktrace-perl
25 Description: object-oriented replacement for Carp or Carp::Clan Perl modules
26 Carp::Object is an object-oriented alternative to Carp/croak or
27 Carp::Clan/croak, for reporting errors in modules from the perspective of the
28 caller instead of reporting the internal implementation line where the error
29 occurs.
30 .
31 Carp or Carp::Clan were designed long ago, at a time when Perl had no support
32 yet for object-oriented programming; therefore they only have a functional
33 API that is not very well suited for extensions. The present module attempts
34 to mimic the same behaviour, but with an object-oriented implementation that
35 offers more tuning options, and also supports errors raised as Exception
36 objects.
37 .
38 Unlike Carp or Carp::Clan, where the presentation of stack frames is
39 hard-coded, here it is delegated to Devel::StackTrace. This means that
40 clients can also take advantage of options in Devel::StackTrace to tune the
41 output -- or even replace it by another class.