- libsyntax-keyword-try-perl (>= 0.27)
- perl:any
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.
Installed Size: 27.6 kB
Architectures: all