forked from pool/perl-Syntax-Keyword-Try
Accepting request 892396 from devel:languages:perl:autoupdate
- updated to 0.24 see /usr/share/doc/packages/perl-Syntax-Keyword-Try/Changes 0.24 2021-05-10 [CHANGES] * Deprecate the `try do { ... }` (experimental) syntax now that try-in-do works reliably. It will be removed soon because it gets in the way of converting the parser logic to XS::Parse::Keyword * Add documentation about the core `use feature 'try'` and Feature::Compat::Try module * Added an initial attempt at B::Deparse logic OBS-URL: https://build.opensuse.org/request/show/892396 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Syntax-Keyword-Try?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
fb081d23da
commit
fcf86dd122
@@ -18,7 +18,7 @@
|
||||
|
||||
%define cpan_name Syntax-Keyword-Try
|
||||
Name: perl-Syntax-Keyword-Try
|
||||
Version: 0.23
|
||||
Version: 0.24
|
||||
Release: 0
|
||||
Summary: C<try/catch/finally> syntax for perl
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
@@ -43,6 +43,13 @@ also serves to contain a number of code examples for how to implement
|
||||
parser plugins and manipulate optrees to provide new syntax and behaviours
|
||||
for perl code.
|
||||
|
||||
Syntax similar to this module has now been added to core perl, starting at
|
||||
development version 5.33.7, and is expected to become generally available
|
||||
when perl 5.34 is released. If you are writing new code, it is suggested
|
||||
that you instead use the Feature::Compat::Try module instead, as that will
|
||||
enable the core feature on those supported perl versions, falling back to
|
||||
'Syntax::Keyword::Try' on older perls.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
|
||||
|
Reference in New Issue
Block a user