From: Mischa POSLAWSKY Date: Sun, 25 Jan 2015 03:17:18 +0000 (+0100) Subject: perl: stylistic updates in feature descriptions X-Git-Tag: v1.6~61 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/e1f0b78a1c5d1234dafc366ec97bb617bbe91b6d perl: stylistic updates in feature descriptions --- diff --git a/perl.inc.pl b/perl.inc.pl index 8768465..9f20741 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 foo', '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'], ],