From a5ec8efeae4f20b4d5e4d38516b283e9e725744e Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 5 Feb 2020 17:35:19 +0100 Subject: [PATCH] perl: summarise releases of v5.30 and v5.32 --- perl.inc.pl | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/perl.inc.pl b/perl.inc.pl index 61dbea5..63e3e7b 100644 --- a/perl.inc.pl +++ b/perl.inc.pl @@ -234,8 +234,8 @@ use utf8; v5.28 => { new => [ ['delete %hash{…}', 'hash slices can be deleted with key+value pairs'], - ['/(*…)/', 'alphabetic synonyms for assertions, e.g. (*atomic:…) for (?>…) and (*nlb:…) for (?<!…)', {experimental => 'alpha_assertions'}], - ['/(*script_run:)/', 'enforces all characters to be from the same script', {experimental => 'script_run'}], + ['/(*…)/', 'alphabetic synonyms for assertions, e.g. (*atomic:…) for (?>…) and (*nlb:…) for (?<!…)', {experimental => 'alpha_assertions', stable => v5.31.6}], + ['/(*script_run:)/', 'enforces all characters to be from the same script', {experimental => 'script_run', stable => v5.31.6}], ['state @a', 'persistent lexical array or hash variables'], ['perl -i -pe die', 'safe in-place editing: files are replaced only after successful completion'], ['${^SAFE_LOCALES}', 'locales are thread-safe on supported systems, indicated by this variable'], @@ -245,4 +245,25 @@ use utf8; distro => { }, }, + + v5.30 => { + new => [ + ['/(?<=var+)', 'variable length lookbehind assertions', {experimental => 'vlb'}], + ['m(\p{nv=/.*/})', 'match unicode properties by regular expressions', {experimental => 'uniprop_wildcards'}], + ['my $state if 0', 'workaround for state (deprecated since v5.10!) is now prohibited'], + [q"qr'\N'", 'Delimiters must be graphemes; unescaped { illegal; \N in single quotes'], + ], + unicode => '12.1', + release => '2019-05-22', + }, + + v5.32 => { + new => [ + ['isa', 'infix operator to check class instance'], + [q"open F, '+>>', undef", 'respect append mode on temporary files with mixed access'], + ['streamzip', 'program distributed with core IO::Compress::Base'], + ], + # https://www.effectiveperlprogramming.com/2020/01/perl-v5-32-new-features/ + unicode => '13.0', + }, } -- 2.30.0