perl: preliminary v5.20
[sheet.git] / perl.inc.pl
index ca836cce5946284ed1fe9dd5456ee4ccd015707b..4677c9f7e5cd4e80a871b0593c225f43299ebdd9 100644 (file)
@@ -11,26 +11,44 @@ use utf8;
                        ['open $fh, $mode, $expr'],
                ],
                release => '2000-03-23',
                        ['open $fh, $mode, $expr'],
                ],
                release => '2000-03-23',
+               distro => {
+                       debian => 'woody',
+                       redhat => '2.1',
+               },
+               unicode => '3.0.1',
        },
        },
+
        v5.8 => {
                new => [
                        ['unicode overhaul'],
                        ['PerlIO'],
                ],
                release => '2002-07-18',
        v5.8 => {
                new => [
                        ['unicode overhaul'],
                        ['PerlIO'],
                ],
                release => '2002-07-18',
+               distro => {
+                       debian => 'sarge',
+                       redhat => '3.9',
+               },
+               unicode => '3.2.0',
        },
        },
+
        v5.10 => {
                new => [
                        ['//', 'defined-or operator'],
                        ['~~', 'smart-match operator to compare different data types'],
                        ['given', 'switch statement to smart-match with when/default'],
        v5.10 => {
                new => [
                        ['//', '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'],
                ],
                release => '2007-12-18',
                        ['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'],
                ],
                release => '2007-12-18',
+               distro => {
+                       debian => 'lenny',
+                       redhat => '6.5',
+               },
+               unicode => '5.0.0',
        },
        },
+
        v5.12 => {
                new => [
                        ['package version', 'package NAME VERSION shorthand for our $VERSION"'],
        v5.12 => {
                new => [
                        ['package version', 'package NAME VERSION shorthand for our $VERSION"'],
@@ -39,7 +57,9 @@ use utf8;
                        ['... when', '"when" is now allowed to be used as a statement modifier'],
                ],
                release => '2010-04-12',
                        ['... when', '"when" is now allowed to be used as a statement modifier'],
                ],
                release => '2010-04-12',
+               unicode => '5.2',
        },
        },
+
        v5.14 => {
                new => [
                        ['s///r', 'non-destructive substitution'],
        v5.14 => {
                new => [
                        ['s///r', 'non-destructive substitution'],
@@ -49,7 +69,12 @@ use utf8;
                        ['each $ref e.a.', 'array and hash container functions accept references'],
                ],
                release => '2011-05-14',
                        ['each $ref e.a.', 'array and hash container functions accept references'],
                ],
                release => '2011-05-14',
+               distro => {
+                       debian => 'wheezy',
+               },
+               unicode => '6.0+#8',
        },
        },
+
        v5.16 => {
                new => [
                        ['__SUB__', 'current subroutine reference'],
        v5.16 => {
                new => [
                        ['__SUB__', 'current subroutine reference'],
@@ -57,14 +82,32 @@ use utf8;
                        ['"\N{}"', 'automatic use charnames qw( :full :short )'],
                ],
                release => '2012-05-20',
                        ['"\N{}"', 'automatic use charnames qw( :full :short )'],
                ],
                release => '2012-05-20',
+               distro => {
+                       redhat => '7.0',
+               },
+               unicode => '6.1',
        },
        },
+
        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',
                ],
                release => '2013-05-18',
+               distro => {
+                       debian => 'jessie',
+               },
+               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',
        },
 }
        },
 }