Package: perl-Carp-Always (0.16-bp156.3.1)
Warns and dies noisily with stack backtraces
This module is meant as a debugging aid. It can be used to make a script complain loudly with stack backtraces when warn()ing or die()ing. Here are how stack backtraces produced by this module looks: $ perl -MCarp::Always -e 'sub f { die "arghh" }; sub g { f }; g' arghh at -e line 1 main::f() called at -e line 1 main::g() called at -e line 1 $ perl -MCarp::Always -w -e 'sub f { $a = shift; @a = @$a };' \ -e 'sub g { f(undef) }; g' Use of uninitialized value in array dereference at -e line 1 main::f('undef') called at -e line 2 main::g() called at -e line 2 In the implementation, the Carp module does the heavy work, through 'longmess()'. The actual implementation sets the signal hooks $SIG{__WARN__} and $SIG{__DIE__} to emit the stack backtraces. Also, all uses of 'carp' and 'croak' are made verbose, behaving like 'cluck' and 'confess'.
Package information
- Homepage
- [http://search.cpan.org/dist/Carp-Always/]
- License
- Artistic-1.0 OR GPL-1.0-or-later
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [perl-Carp-Always]
- Software project
- [perl-Carp-Always]
Versions and downloads for perl-Carp-Always
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 0.16-bp156.3.1leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 23 KiB | 30 KiB | list of files | perl-Carp-Always-0.16-bp156.3.1.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Dependencies and recommendations for perl-Carp-Always
dep: perl(:MODULE_COMPAT_5.26.1)
Package not available
Package file paths (9)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.26.1/Carp
- /usr/lib/perl5/vendor_perl/5.26.1/Carp/Always.pm
- /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
- /usr/share/doc/packages/perl-Carp-Always
- /usr/share/doc/packages/perl-Carp-Always/Changes
- /usr/share/doc/packages/perl-Carp-Always/README
- /usr/share/licenses/perl-Carp-Always
- /usr/share/licenses/perl-Carp-Always/LICENSE
- /usr/share/man/man3/Carp::Always.3pm.gz
Field source: openSUSE Leap 15.6 OSS
