How to Install and Uninstall perl-Feature-Compat-Try Package on openSUSE Leap

Last updated: November 27,2024

1. Install "perl-Feature-Compat-Try" package

This tutorial shows how to install perl-Feature-Compat-Try on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Feature-Compat-Try

2. Uninstall "perl-Feature-Compat-Try" package

Learn how to uninstall perl-Feature-Compat-Try on openSUSE Leap:

$ sudo zypper remove perl-Feature-Compat-Try

3. Information about the perl-Feature-Compat-Try package on openSUSE Leap

Information for package perl-Feature-Compat-Try:
------------------------------------------------
Repository : Main Repository
Name : perl-Feature-Compat-Try
Version : 0.05-bp155.1.4
Arch : noarch
Vendor : openSUSE
Installed Size : 36.5 KiB
Installed : No
Status : not installed
Source package : perl-Feature-Compat-Try-0.05-bp155.1.4.src
Upstream URL : https://metacpan.org/release/Feature-Compat-Try
Summary : Make try/catch syntax available
Description :
This module makes syntax support for 'try/catch' control flow easily
available.
Perl added such syntax at version 5.34.0, and extended it to support
optional 'finally' blocks at 5.35.9, which is enabled by
use feature 'try';
On that version of perl or later, this module simply enables the core
feature equivalent to using it directly. On such perls, this module will
install with no non-core dependencies, and requires no C compiler.
On older versions of perl before such syntax is available, it is currently
provided instead using the Syntax::Keyword::Try module, imported with a
special set of options to configure it to recognise exactly and only the
same syntax as the core perl feature, thus ensuring that any code using it
will still continue to function on that newer perl.