How to Install and Uninstall perl-Carp-Always Package on openSuSE Tumbleweed
Last updated: November 23,2024
1. Install "perl-Carp-Always" package
Please follow the step by step instructions below to install perl-Carp-Always on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-Carp-Always
Copied
2. Uninstall "perl-Carp-Always" package
Learn how to uninstall perl-Carp-Always on openSuSE Tumbleweed:
$
sudo zypper remove
perl-Carp-Always
Copied
3. Information about the perl-Carp-Always package on openSuSE Tumbleweed
Information for package perl-Carp-Always:
-----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Carp-Always
Version : 0.16-1.23
Arch : noarch
Vendor : openSUSE
Installed Size : 29.9 KiB
Installed : No
Status : not installed
Source package : perl-Carp-Always-0.16-1.23.src
Upstream URL : http://search.cpan.org/dist/Carp-Always/
Summary : Warns and dies noisily with stack backtraces
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.
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'.
-----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Carp-Always
Version : 0.16-1.23
Arch : noarch
Vendor : openSUSE
Installed Size : 29.9 KiB
Installed : No
Status : not installed
Source package : perl-Carp-Always-0.16-1.23.src
Upstream URL : http://search.cpan.org/dist/Carp-Always/
Summary : Warns and dies noisily with stack backtraces
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.
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'.