perl: complete v5.20 features
[sheet.git] / perl.inc.pl
index 4677c9f7e5cd4e80a871b0593c225f43299ebdd9..b499bf85880c8a61f380483374a7a69e4c54ec07 100644 (file)
@@ -67,6 +67,7 @@ use utf8;
                        ['/(?{ m// })/', 'regular expressions can be nested in /(?{})/ and /(??{})/'],
                        ["use re '/flags'", 'customize default modifiers'],
                        ['each $ref e.a.', 'array and hash container functions accept references'],
+                       ['FH->method', 'filehandle method calls load IO::File on demand (eg. STDOUT->flush)'],
                ],
                release => '2011-05-14',
                distro => {
@@ -103,11 +104,14 @@ use utf8;
                unicode => '6.2',
        },
 
-       v5.19.5 => {
+       v5.20 => {
                new => [
+                       ['sub ($var)', 'subroutine signatures'],
                        ['%hash{…}', 'hash slices return key+value pairs'],
                        ['[]->@*', 'postfix dereferencing (also e.g. $scalar->$* for $$scalar)'],
+                       ['use warnings; $a', 'variables $a and $b are exempt from used once warnings'],
                ],
                unicode => '6.3',
+               release => '2014-05-27',
        },
 }