X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/3d98f383412643f025a5ab9910e5d07348f8c1c3..9c404a8378e702a8b7f5ddecc2debea393a5b5fd:/perl.inc.pl diff --git a/perl.inc.pl b/perl.inc.pl index b499bf8..08961f6 100644 --- a/perl.inc.pl +++ b/perl.inc.pl @@ -36,8 +36,8 @@ use utf8; ['//', 'defined-or operator'], ['~~', 'smart-match operator to compare different data types'], ['given', 'switch statement to smart-match with when/default'], - ['/(?)/', 'named capture buffers into %+'], - ['s/keep\K//', 'floating positive lookbehind, efficient alternative for s/(keep)/$1/'], + ['/(?)/', 'named capture buffers into %+'], + ['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'], ], @@ -64,10 +64,10 @@ use utf8; new => [ ['s///r', 'non-destructive substitution'], ['/(?^)/', 'construct to reset to default modifiers'], - ['/(?{ m// })/', 'regular expressions can be nested in /(?{})/ and /(??{})/'], + ['/(?{ 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)'], + ['FH->method', 'filehandle method calls load IO::File on demand (eg. STDOUT->flush)'], ], release => '2011-05-14', distro => { @@ -91,8 +91,8 @@ use utf8; v5.18 => { new => [ - ['${^LAST_FH}', 'last read filehandle (used by $.)'], - ['/(?[ a + b ])/', 'regex set operations (character substraction -, unions &)'], + ['${^LAST_FH}', 'last read filehandle (used by $.)'], + ['/(?[ a + b ])/', 'regex set operations (character substraction -, unions &)'], ['my sub foo', 'lexical subroutines (also state, our)'], ['next $expression', 'loop controls allow runtime expressions'], ["no warnings 'experimental::…'", 'mechanism for experimental features, as of now required for smartmatch'], @@ -108,8 +108,8 @@ use utf8; 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'], + ['[]->@*', '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',