X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/ee1437d08c232641221d449e508d348db43ca837..54c320d4bbbdafdf74ba2256d497702d309711b8:/perl.inc.pl?ds=sidebyside diff --git a/perl.inc.pl b/perl.inc.pl index 8768465..67774cf 100644 --- a/perl.inc.pl +++ b/perl.inc.pl @@ -15,7 +15,7 @@ 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', @@ -87,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)'], ], @@ -116,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'], ], @@ -137,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, + }, }