make try/catch syntax available

Edit Package perl-Feature-Compat-Try

This module 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.

Source Files
Filename Size Changed
Feature-Compat-Try-0.05.tar.gz 0000017364 17 KB
cpanspec.yml 0000000927 927 Bytes
perl-Feature-Compat-Try.changes 0000000651 651 Bytes
perl-Feature-Compat-Try.spec 0000002491 2.43 KB
Comments 0
openSUSE Build Service is sponsored by