perl: some distro and unicode information
[sheet.git] / perl.inc.pl
1 use utf8;
2
3 +{
4         v5.6 => {
5                 new => [
6                         ['use utf8'],
7                         ['\N{named character}'],
8                         ['our'],
9                         ['v1.2.3'],
10                         ['sub :locked :method'],
11                         ['open $fh, $mode, $expr'],
12                 ],
13                 release => '2000-03-23',
14                 distro => {
15                         debian => 'woody',
16                         redhat => '2.1',
17                 },
18                 unicode => '3.0.1',
19         },
20
21         v5.8 => {
22                 new => [
23                         ['unicode overhaul'],
24                         ['PerlIO'],
25                 ],
26                 release => '2002-07-18',
27                 distro => {
28                         debian => 'sarge',
29                         redhat => '3.9',
30                 },
31                 unicode => '3.2.0',
32         },
33
34         v5.10 => {
35                 new => [
36                         ['//', 'defined-or operator'],
37                         ['~~', 'smart-match operator to compare different data types'],
38                         ['given', 'switch statement to smart-match with when/default'],
39                         ['/(?<name>)/ and $+{name}', 'named caputer buffers'],
40                         ['s/keep\K//', 'floating positive lookbehind, efficient alternative for s/(keep)/$1/'],
41                         ['/\v/, /\h/', 'vertical and horizontal whitespace escapes'],
42                         ['my $_', 'lexically scoped version of the default variable'],
43                 ],
44                 release => '2007-12-18',
45                 distro => {
46                         debian => 'lenny',
47                         redhat => '6.5',
48                 },
49                 unicode => '5.0.0',
50         },
51
52         v5.12 => {
53                 new => [
54                         ['package version', 'package NAME VERSION shorthand for our $VERSION"'],
55                         ['...', 'yada-yada operator: code placeholder'],
56                         ['use strict', 'Implicit strictures if use VERSION >= 5.12'],
57                         ['... when', '"when" is now allowed to be used as a statement modifier'],
58                 ],
59                 release => '2010-04-12',
60                 unicode => '5.2',
61         },
62
63         v5.14 => {
64                 new => [
65                         ['s///r', 'non-destructive substitution'],
66                         ['/(?^)/', 'construct to reset to default modifiers'],
67                         ['/(?{ m// })/', 'regular expressions can be nested in /(?{})/ and /(??{})/'],
68                         ["use re '/flags'", 'customize default modifiers'],
69                         ['each $ref e.a.', 'array and hash container functions accept references'],
70                 ],
71                 release => '2011-05-14',
72                 distro => {
73                         debian => 'wheezy',
74                 },
75                 unicode => '6.0+#8',
76         },
77
78         v5.16 => {
79                 new => [
80                         ['__SUB__', 'current subroutine reference'],
81                         ['fc, "\F"', 'unicode foldcase to compare case-insensitively'],
82                         ['"\N{}"', 'automatic use charnames qw( :full :short )'],
83                 ],
84                 release => '2012-05-20',
85                 distro => {
86                         redhat => '7.0',
87                 },
88                 unicode => '6.1',
89         },
90
91         v5.18 => {
92                 new => [
93                         ['${^LAST_FH}', 'last read filehandle (used by $.)'],
94                         ['/(?[ … & … + … - … ])/', 'regex set operations'],
95                         ['my sub foo', 'lexical subroutines (also state, our)'],
96                         ['next $expression', 'loop controls allow runtime expressions'],
97                 ],
98                 release => '2013-05-18',
99                 distro => {
100                         debian => 'jessie',
101                 },
102                 unicode => '6.2',
103         },
104 }