perl: keep feature titles to a minimum
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 25 Jan 2015 22:58:47 +0000 (23:58 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Sun, 1 Feb 2015 17:34:18 +0000 (18:34 +0100)
perl.inc.pl

index cb2b24d..67774cf 100644 (file)
@@ -116,7 +116,7 @@ use utf8;
                new => [
                        ['<code>${^LAST_FH}</code>', 'last read filehandle (used by <code>$.</code>)'],
                        ['<code>/(?[ a + b ])/</code>', 'regex set operations (character substraction <code>-</code>, unions <code>&amp;</code>)'],
-                       ['<code>my sub foo</code>', 'lexical subroutines (also <code>state</code>, <code>our</code>)'],
+                       ['<code>my sub</code>', 'lexical subroutines (also <code>state</code>, <code>our</code>)'],
                        ['<code>next $expression</code>', 'loop controls allow runtime expressions'],
                        [q(<code>no warnings 'experimental::…'</code>), 'mechanism for experimental features, as of now required for smartmatch'],
                ],
@@ -142,7 +142,7 @@ use utf8;
                new => [
                        ['<code>\$alias =</code>', 'aliasing via reference'],
                        ['<code>&lt;&lt;>></code>', 'safe readline ignoring open flags in arguments'],
-                       ['<code>/(nocapture)/n</code>', 'flag to disable numbered capturing, turning <code>()</code> into <code>(?:)</code>'],
+                       ['<code>/()/n</code>', 'flag to disable numbered capturing, turning <code>()</code> into <code>(?:)</code>'],
                ],
                unicode => '7.0',
                release => '2015-01-20',