Logoj0ke.net Open Build Service > Projects > server:monitoring > nagios-plugins-nwc-health > Binaries > nagios-plugins-nwc-health-8... > Dependencies
Sign Up | Log In

Dependency of nagios-plugins-nwc-health-8.0-1.1.src.rpm

Name: perl-Devel-Confess

Project: openSUSE_13.2

Repository: oss

Title: Include stack traces on all warnings and errors

Description:
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. the Carp::Always manpage), it includes stack
traces even when exception objects are thrown.

The stack traces are generated using the Carp manpage, and will look work
for all types of errors. the Carp manpage's 'carp' and 'confess' functions
will also be made to include stack traces.


$ perl -MDevel::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 -MDevel::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.

Version: 0.007003

Release: 1.2

Architecture: noarch

Size: 19.5 KB

Build Time: 2014-10-06 15:17:39 +0200 (over 9 years ago)

Provides

Symbol Required by
perl(Devel::Confess) = 0.00... perl-Task-Kensho-ModuleDev
perl(Devel::Confess::Builti...
perl(Devel::Confess::Source)
perl(Devel::Confess::_Util)
perl-Devel-Confess = 0.0070...

Requires

Symbol Provided by
perl(:MODULE_COMPAT_5.20.1) perl