How to Install and Uninstall perl-Exception-Base Package on openSUSE Leap

Last updated: December 25,2024

1. Install "perl-Exception-Base" package

In this section, we are going to explain the necessary steps to install perl-Exception-Base on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Exception-Base

2. Uninstall "perl-Exception-Base" package

Please follow the guidelines below to uninstall perl-Exception-Base on openSUSE Leap:

$ sudo zypper remove perl-Exception-Base

3. Information about the perl-Exception-Base package on openSUSE Leap

Information for package perl-Exception-Base:
--------------------------------------------
Repository : Main Repository
Name : perl-Exception-Base
Version : 0.2501-bp155.2.8
Arch : noarch
Vendor : openSUSE
Installed Size : 160.2 KiB
Installed : No
Status : not installed
Source package : perl-Exception-Base-0.2501-bp155.2.8.src
Upstream URL : http://search.cpan.org/dist/Exception-Base/
Summary : Lightweight exceptions
Description :
This class implements a fully OO exception mechanism similar to
Exception::Class or Class::Throwable. It provides a simple interface
allowing programmers to declare exception classes. These classes can be
thrown and caught. Each uncaught exception prints full stack trace if the
default verbosity is increased for debugging purposes.
The features of 'Exception::Base':
* fast implementation of the exception class
* fully OO without closures and source code filtering
* does not mess with '$SIG{__DIE__}' and '$SIG{__WARN__}'
* no external run-time modules dependencies, requires core Perl modules only
* the default behavior of exception class can be changed globally or just for
the thrown exception
* matching the exception by class, message or other attributes
* matching with string, regex or closure function
* creating automatically the derived exception classes (perlfunc/use
interface)
* easily expendable, see Exception::System class for example
* prints just an error message or dumps full stack trace
* can propagate (rethrow) an exception
* can ignore some packages for stack trace output
* some defaults (i.e. verbosity) can be different for different exceptions