Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Carp-Always | Distribution: openSUSE Tumbleweed |
Version: 0.16 | Vendor: openSUSE |
Release: 1.25 | Build date: Tue Aug 14 07:07:20 2018 |
Group: Development/Libraries/Perl | Build host: reproducible |
Size: 30638 | Source RPM: perl-Carp-Always-0.16-1.25.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: http://search.cpan.org/dist/Carp-Always/ | |
Summary: 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'.
Artistic-1.0 OR GPL-1.0-or-later
* Tue Aug 14 2018 coolo@suse.com - updated to 0.16 see /usr/share/doc/packages/perl-Carp-Always/Changes * Mon Nov 25 2013 coolo@suse.com - updated to 0.13 - Test::More and Test::Base go to TEST_REQUIRES - Test::Pod and Test::Pod::Coverage as author tests (solves RT#87423) * Mon Jun 03 2013 coolo@suse.com - updated to 0.12 - fix failing t/pod.t due to bad encoding (CPAN #77656) - fix test failure with Carp 1.25+ RT#75320 [thanks ANDK and greeneg] - Test::Base is required in BUILD (otherwise we haven't tested anything) * Tue Oct 25 2011 tabraham@novell.com - updated to 0.10 * fix typo in POD RT#68793 (also reported by Kai Moonbourn) * Carp:Always ate part of errors like 'foo at bar' RT#57385 (fix borrowed from Carp::Always::Color) * deal with non-string exceptions (borrowed from Carp:Always:Color as well) * Fri Jan 14 2011 coolo@novell.com - initial package 0.09 * created by cpanspec 1.78.03
/usr/lib/perl5/vendor_perl/5.40.0/Carp /usr/lib/perl5/vendor_perl/5.40.0/Carp/Always.pm /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
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Sep 7 23:48:34 2024