make try/catch syntax available
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.
- Sources inherited from project openSUSE:Backports:SLE-15-SP6
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Backports:SLE-15-SP6:Update/perl-Feature-Compat-Try && cd $_
- Create Badge
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 |
Latest Revision
branch from Backports SP5
Comments 0