X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/463971a7f09119922cecde3004581bfdc81b4388..54c320d4bbbdafdf74ba2256d497702d309711b8:/perl.inc.pl diff --git a/perl.inc.pl b/perl.inc.pl index e412578..67774cf 100644 --- a/perl.inc.pl +++ b/perl.inc.pl @@ -15,14 +15,14 @@ use utf8; [q`pack 'q'`, '64-bit integer support (also large files >2GiB)'], ['sort $coderef ()', 'comparison function can be a subroutine reference; prototype ($$) to pass elements as normal @_'], ['CHECK {}', 'special block called at end of compilation'], - ['/[[:…:]]/', 'POSIX character class syntax such as [[:alpha:]]/'], + ['/[[:…:]]/', 'POSIX character class syntax such as /[[:alpha:]]/'], # quite a lot more, but leave it at this ], release => '2000-03-23', distro => { debian => 'woody', - redhat => '2.1', - solaris => '9', # 2002-05 eol 2014-10 + rhel => '2', # v5.6.0; also in red hat 7.0 + solaris => '9', # v5.6.1; 2002-05 eol 2014-10 }, unicode => '3.0.1', }, @@ -40,8 +40,9 @@ use utf8; release => '2002-07-18', distro => { debian => 'sarge', - redhat => '3.9', + rhel => '3', # v5.8.0; v5.8.8 in RHEL6 (2007-2014) solaris => '10', # v5.8.4; 2005-01 eol 2021-01 + centos => '3-5', # v5.8.0 in v3 (2004-03); v5.8.8 in v5 (eol 2017-03) }, unicode => '3.2.0', }, @@ -59,7 +60,8 @@ use utf8; release => '2007-12-18', distro => { debian => 'lenny', - redhat => '6.5', + rhel => '6', # v5.10.1 + centos => '6', # v5.10.1 (2011-07 eol 2020-11) }, unicode => '5.0.0', }, @@ -85,7 +87,7 @@ use utf8; ['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'], + ["use re '/flags'", 'customise 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)'], ], @@ -104,7 +106,8 @@ use utf8; ], release => '2012-05-20', distro => { - redhat => '7.0', + rhel => '7', # v5.16.3 + centos => '7', # v5.16.3 (2014-07 eol 2024-06) }, unicode => '6.1', }, @@ -113,7 +116,7 @@ use utf8; new => [ ['${^LAST_FH}', 'last read filehandle (used by $.)'], ['/(?[ a + b ])/', 'regex set operations (character substraction -, unions &)'], - ['my sub foo', 'lexical subroutines (also state, our)'], + ['my sub', 'lexical subroutines (also state, our)'], ['next $expression', 'loop controls allow runtime expressions'], [q(no warnings 'experimental::…'), 'mechanism for experimental features, as of now required for smartmatch'], ], @@ -134,4 +137,15 @@ use utf8; debian => 'jessie', }, }, + + v5.21.8 => { + new => [ + ['\$alias =', 'aliasing via reference'], + ['<<>>', 'safe readline ignoring open flags in arguments'], + ['/()/n', 'flag to disable numbered capturing, turning () into (?:)'], + ], + unicode => '7.0', + release => '2015-01-20', + unstable => 1, + }, }