perl: summarise releases of v5.30 and v5.32
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 5 Feb 2020 16:35:19 +0000 (17:35 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 25 Feb 2020 13:19:11 +0000 (14:19 +0100)
perl.inc.pl

index 61dbea564d867a74e180490253dff4c43f3487bd..63e3e7b037bb2960219bf2c783d74d1012e1899e 100644 (file)
@@ -234,8 +234,8 @@ use utf8;
        v5.28 => {
                new => [
                        ['<code>delete %hash{…}</code>', 'hash slices can be deleted with key+value pairs'],
-                       ['<code>/(*…)/</code>', 'alphabetic synonyms for assertions, e.g. <code>(*atomic:…)</code> for <code>(?&gt;…)</code> and <code>(*nlb:…)</code> for <code>(?&lt;!…)</code>', {experimental => 'alpha_assertions'}],
-                       ['<code>/(*script_run:)/</code>', 'enforces all characters to be from the same script', {experimental => 'script_run'}],
+                       ['<code>/(*…)/</code>', 'alphabetic synonyms for assertions, e.g. <code>(*atomic:…)</code> for <code>(?&gt;…)</code> and <code>(*nlb:…)</code> for <code>(?&lt;!…)</code>', {experimental => 'alpha_assertions', stable => v5.31.6}],
+                       ['<code>/(*script_run:)/</code>', 'enforces all characters to be from the same script', {experimental => 'script_run', stable => v5.31.6}],
                        ['<code>state @a</code>', 'persistent lexical array or hash variables'],
                        ['<code>perl -i -pe die</code>', 'safe in-place editing: files are replaced only after successful completion'],
                        ['<code>${^SAFE_LOCALES}</code>', 'locales are thread-safe on supported systems, indicated by this variable'],
@@ -245,4 +245,25 @@ use utf8;
                distro => {
                },
        },
+
+       v5.30 => {
+               new => [
+                       ['<code>/(?<=var+)</code>', 'variable length lookbehind assertions', {experimental => 'vlb'}],
+                       ['<code>m(\p{nv=/.*/})</code>', 'match unicode properties by regular expressions', {experimental => 'uniprop_wildcards'}],
+                       ['<code><s>my $state if 0</s></code>', 'workaround for <code>state</code> (deprecated since v5.10!) is now prohibited'],
+                       [q"<code>qr'\N'</code>", 'Delimiters must be graphemes; unescaped { illegal; \N in single quotes'],
+               ],
+               unicode => '12.1',
+               release => '2019-05-22',
+       },
+
+       v5.32 => {
+               new => [
+                       ['<code>isa</code>', 'infix operator to check class instance'],
+                       [q"<code>open F, '+&gt;&gt;', undef</code>", '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',
+       },
 }