X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/9ab0df43bbb8c43a31403d7e6810588e9de08da3..3f38a7192491a73a1527179cdd68218f023aed61:/perl.inc.pl diff --git a/perl.inc.pl b/perl.inc.pl index 9c505df..41903a6 100644 --- a/perl.inc.pl +++ b/perl.inc.pl @@ -146,7 +146,7 @@ my $wbr = "\N{ZERO WIDTH SPACE}"; v5.12 => { new => [ - ['package version', 'package NAME VERSION shorthand for our $VERSION'], + ['package version', 'package NAME VERSION shorthand for our $VERSION'], ['...', 'yada-yada operator: code placeholder'], ['use 5.012', 'implicit strict if use VERSION >= v5.12'], ['… when', 'when is now allowed to be used as a statement modifier'], @@ -173,7 +173,9 @@ my $wbr = "\N{ZERO WIDTH SPACE}"; [q"use re '/flags'", 'customise default modifiers'], ['/(?^)/', 'construct to reset to default modifiers'], ['FH->method', 'filehandle method calls load IO::File on demand (eg. STDOUT->flush)'], - ['\o{}', 'escape sequence for octal values beyond \777'], + ['\o{}', 'escape sequence for octal values beyond 0777'], + ['package {}', 'package declaration in scope of code block only'], + ['multiple: labels:', 'statement labels allowed in all places, even before other labels'], ], modules => [ [JSON => 'interface with data in JavaScript Object Notation', 'decode_json <>'],