How to Install and Uninstall perl-Carp-Always Package on openSUSE Leap

Last updated: November 22,2024

1. Install "perl-Carp-Always" package

Please follow the guidance below to install perl-Carp-Always on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Carp-Always

2. Uninstall "perl-Carp-Always" package

Please follow the instructions below to uninstall perl-Carp-Always on openSUSE Leap:

$ sudo zypper remove perl-Carp-Always

3. Information about the perl-Carp-Always package on openSUSE Leap

Information for package perl-Carp-Always:
-----------------------------------------
Repository : Main Repository
Name : perl-Carp-Always
Version : 0.16-bp155.2.12
Arch : noarch
Vendor : openSUSE
Installed Size : 30.2 KiB
Installed : No
Status : not installed
Source package : perl-Carp-Always-0.16-bp155.2.12.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'.