perl: record release dates
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 27 Oct 2013 17:01:28 +0000 (18:01 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 27 Jan 2014 23:08:52 +0000 (00:08 +0100)
perl.inc.pl

index efa8b6e..632fc12 100644 (file)
@@ -1,43 +1,61 @@
 use utf8;
 
 +{
-       v5.6 => [
-               ['use utf8'],
-               ['\N{named character}'],
-               ['our'],
-               ['v1.2.3'],
-               ['sub :locked :method'],
-               ['open $fh, $mode, $expr'],
-       ],
-       v5.8 => [
-               ['unicode overhaul'],
-               ['PerlIO'],
-       ],
-       v5.10 => [
-               ['//', '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'],
-               ['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'],
-       ],
-       v5.12 => [
-               ['package version', 'package NAME VERSION shorthand for our $VERSION"'],
-               ['...', 'yada-yada operator: code placeholder'],
-               ['use strict', 'Implicit strictures if use VERSION >= 5.12'],
-               ['... when', '"when" is now allowed to be used as a statement modifier'],
-       ],
-       v5.14 => [
-               ['s///r', 'non-destructive substitution'],
-               ['/(?^)/', 'construct to reset to default modifiers'],
-               ['/(?{ 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'],
-       ],
-       v5.16 => [
-               ['__SUB__', 'current subroutine reference'],
-               ['fc, "\F"', 'unicode foldcase to compare case-insensitively'],
-               ['"\N{}"', 'automatic use charnames qw( :full :short )'],
-       ],
+       v5.6 => {
+               new => [
+                       ['use utf8'],
+                       ['\N{named character}'],
+                       ['our'],
+                       ['v1.2.3'],
+                       ['sub :locked :method'],
+                       ['open $fh, $mode, $expr'],
+               ],
+               release => '2000-03-23',
+       },
+       v5.8 => {
+               new => [
+                       ['unicode overhaul'],
+                       ['PerlIO'],
+               ],
+               release => '2002-07-18',
+       },
+       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'],
+                       ['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',
+       },
+       v5.12 => {
+               new => [
+                       ['package version', 'package NAME VERSION shorthand for our $VERSION"'],
+                       ['...', 'yada-yada operator: code placeholder'],
+                       ['use strict', 'Implicit strictures if use VERSION >= 5.12'],
+                       ['... when', '"when" is now allowed to be used as a statement modifier'],
+               ],
+               release => '2010-04-12',
+       },
+       v5.14 => {
+               new => [
+                       ['s///r', 'non-destructive substitution'],
+                       ['/(?^)/', 'construct to reset to default modifiers'],
+                       ['/(?{ 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'],
+               ],
+               release => '2011-05-14',
+       },
+       v5.16 => {
+               new => [
+                       ['__SUB__', 'current subroutine reference'],
+                       ['fc, "\F"', 'unicode foldcase to compare case-insensitively'],
+                       ['"\N{}"', 'automatic use charnames qw( :full :short )'],
+               ],
+               release => '2012-05-20',
+       },
 }