Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Devel-Confess | Distribution: Mageia |
Version: 0.9.4 | Vendor: Mageia.Org |
Release: 4.mga9 | Build date: Sun Mar 20 21:42:50 2022 |
Group: Development/Perl | Build host: localhost |
Size: 50462 | Source RPM: perl-Devel-Confess-0.9.4-4.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/Devel-Confess | |
Summary: Include stack traces on all warnings and errors |
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. Unlike other similar modules (e.g. Carp::Always), it includes stack traces even when exception objects are thrown. The stack traces are generated using Carp, and will look work for all types of errors. Carp's "carp" and "confess" functions will also be made to include stack traces. $ perl -d:Confess -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 -d:Confess -w -e 'sub f { $a = shift; @a = @$a };' \ -e 'sub g { f(undef) }; g' Use of uninitialized value $a in array dereference at -e line 1. main::f(undef) called at -e line 2 main::g() called at -e line 2 Internally, this is implemented with $SIG{__WARN__} and $SIG{__DIE__} hooks. Stack traces are also included if raw non-object references are thrown.
GPL+ or Artistic
* Sun Mar 20 2022 umeabot <umeabot> 0.9.4-4.mga9 + Revision: 1808760 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-Devel-Confess /usr/share/doc/perl-Devel-Confess/Changes /usr/share/doc/perl-Devel-Confess/META.json /usr/share/doc/perl-Devel-Confess/META.yml /usr/share/doc/perl-Devel-Confess/MYMETA.yml /usr/share/doc/perl-Devel-Confess/README /usr/share/man/man3/Devel::Confess.3pm.xz /usr/share/man/man3/Devel::Confess::Builtin.3pm.xz /usr/share/perl5/vendor_perl/Devel /usr/share/perl5/vendor_perl/Devel/Confess /usr/share/perl5/vendor_perl/Devel/Confess.pm /usr/share/perl5/vendor_perl/Devel/Confess/Builtin.pm /usr/share/perl5/vendor_perl/Devel/Confess/Source.pm /usr/share/perl5/vendor_perl/Devel/Confess/_Util.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 22 09:23:52 2025