perl: preliminary v5.20
[sheet.git] / perl.inc.pl
index f4d783590d657cff320eda5b00b9676e234038d8..4677c9f7e5cd4e80a871b0593c225f43299ebdd9 100644 (file)
@@ -36,7 +36,7 @@ use utf8;
                        ['//', 'defined-or operator'],
                        ['~~', 'smart-match operator to compare different data types'],
                        ['given', 'switch statement to smart-match with when/default'],
                        ['//', 'defined-or operator'],
                        ['~~', 'smart-match operator to compare different data types'],
                        ['given', 'switch statement to smart-match with when/default'],
-                       ['/(?<name>)/ and $+{name}', 'named caputer buffers'],
+                       ['/(?<name>)/', 'named capture buffers into %+'],
                        ['s/keep\K//', 'floating positive lookbehind, efficient alternative for s/(keep)/$1/'],
                        ['/\v/, /\h/', 'vertical and horizontal whitespace escapes'],
                        ['my $_', 'lexically scoped version of the default variable'],
                        ['s/keep\K//', 'floating positive lookbehind, efficient alternative for s/(keep)/$1/'],
                        ['/\v/, /\h/', 'vertical and horizontal whitespace escapes'],
                        ['my $_', 'lexically scoped version of the default variable'],
@@ -91,9 +91,10 @@ use utf8;
        v5.18 => {
                new => [
                        ['${^LAST_FH}', 'last read filehandle (used by $.)'],
        v5.18 => {
                new => [
                        ['${^LAST_FH}', 'last read filehandle (used by $.)'],
-                       ['/(?[ … & … + … - … ])/', 'regex set operations'],
+                       ['/(?[ a + b ])/', 'regex set operations (character substraction -, unions &)'],
                        ['my sub foo', 'lexical subroutines (also state, our)'],
                        ['next $expression', 'loop controls allow runtime expressions'],
                        ['my sub foo', 'lexical subroutines (also state, our)'],
                        ['next $expression', 'loop controls allow runtime expressions'],
+                       ["no warnings 'experimental::…'", 'mechanism for experimental features, as of now required for smartmatch'],
                ],
                release => '2013-05-18',
                distro => {
                ],
                release => '2013-05-18',
                distro => {
@@ -101,4 +102,12 @@ use utf8;
                },
                unicode => '6.2',
        },
                },
                unicode => '6.2',
        },
+
+       v5.19.5 => {
+               new => [
+                       ['%hash{…}', 'hash slices return key+value pairs'],
+                       ['[]->@*', 'postfix dereferencing (also e.g. $scalar->$* for $$scalar)'],
+               ],
+               unicode => '6.3',
+       },
 }
 }