How to Install and Uninstall perl-TryCatch Package on openSUSE Leap

Last updated: November 23,2024

1. Install "perl-TryCatch" package

This tutorial shows how to install perl-TryCatch on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-TryCatch

2. Uninstall "perl-TryCatch" package

Please follow the steps below to uninstall perl-TryCatch on openSUSE Leap:

$ sudo zypper remove perl-TryCatch

3. Information about the perl-TryCatch package on openSUSE Leap

Information for package perl-TryCatch:
--------------------------------------
Repository : Main Repository
Name : perl-TryCatch
Version : 1.003002-bp155.2.9
Arch : x86_64
Vendor : openSUSE
Installed Size : 36.4 KiB
Installed : No
Status : not installed
Source package : perl-TryCatch-1.003002-bp155.2.9.src
Upstream URL : http://search.cpan.org/dist/TryCatch/
Summary : first class try catch semantics for Perl, without source filters.
Description :
This module aims to provide a nicer syntax and method to catch errors in
Perl, similar to what is found in other languages (such as Java, Python or
C++). The standard method of using 'eval {}; if ($@) {}' is often prone to
subtle bugs, primarily that its far too easy to stomp on the error in error
handlers. And also eval/if isn't the nicest idiom.