perl: mention cgi being dropped from core in v5.22
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 24 Apr 2024 18:50:27 +0000 (20:50 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Wed, 24 Apr 2024 23:44:56 +0000 (01:44 +0200)
Suggestion by Greg on a Mastodon thread (with support from Mark Gardner)
<https://social.sdf.org/@greg@icosahedron.website/112323867721154452>:

> might want to include the removal of CGI from core, in 5.22

perl.inc.pl

index e26cbcd4603722a25fbc935e5469eee3ca367ec4..7b50cefdaa3f55a73ec6b21e0379ddc24e344a42 100644 (file)
@@ -252,6 +252,7 @@ my $wbr = "\N{ZERO WIDTH SPACE}";
                        [q"<code>use re 'strict'</code>", 'apply stricter syntax rules to regular expression patterns', {experimental => 're_strict'}],
                        ['<code>0x.beep+0</code>', q"hexadecimal floating point notation with binary power; <code>printf '%a'</code> to display"],
                        ['<code><s>??</s></code>', 'single match shorthand (deprecated since v5.14) requires the operator <code><em>m</em>?PATTERN?</code>'],
+                       ['<code><s>use CGI</s></code>' => 'deprecated interface for serving http requests removed from core, see CGI::Alternatives', {name => 'cgi'}],
                ],
                unicode => '7.0',
                release => '2015-06-01',
@@ -322,6 +323,7 @@ my $wbr = "\N{ZERO WIDTH SPACE}";
                        ['<code>m(\p{nv=/.*/})</code>', 'match unicode properties by regular expressions', {experimental => 'uniprop_wildcards'}],
                        ['<code><s>my $state if 0</s></code>', 'workaround for <code><a href="#state">state</a></code> (deprecated since v5.10!) is now prohibited'],
                        [q"<code>qr'\N'</code>", 'Delimiters must be graphemes; unescaped <code>{</code> illegal; <code>\N</code> in single quotes'],
+                       ['<code><s>use Locale::Codes</s></code>', 'removed from core, get actual lists from CPAN', {dropped => v5.30}],
                ],
                unicode => '12.1',
                release => '2019-05-22',