libfeature-compat-try-perl

make try/catch syntax available

Description

Feature::Compat::Try is written in preparation for when Perl will gain true native syntax support for try/catch control flow.

Perl added such syntax in the development version 5.33.7, 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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Feature-Compat-Try


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libfeature-compat-try-perl