{
    "content": [
        {
            "type": "text",
            "text": "# perl5221delta (man)\n\n## NAME\n\nperl5221delta - what is new for perl v5.22.1\n\n## DESCRIPTION\n\nThis document describes differences between the 5.22.0 release and the 5.22.1 release.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION** (4 subsections)\n- **Documentation** (1 subsections)\n- **Diagnostics** (5 subsections)\n- **Acknowledgements** (1 subsections)\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "perl5221delta",
        "section": "",
        "mode": "man",
        "summary": "perl5221delta - what is new for perl v5.22.1",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": [
                    {
                        "name": "Incompatible Changes",
                        "lines": 6
                    },
                    {
                        "name": "Bounds Checking Constructs",
                        "lines": 5
                    },
                    {
                        "name": "Modules and Pragmata",
                        "lines": 1
                    },
                    {
                        "name": "Updated Modules and Pragmata",
                        "lines": 20
                    }
                ]
            },
            {
                "name": "Documentation",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Changes to Existing Documentation",
                        "lines": 9
                    }
                ]
            },
            {
                "name": "Diagnostics",
                "lines": 3,
                "subsections": [
                    {
                        "name": "Changes to Existing Diagnostics",
                        "lines": 4
                    },
                    {
                        "name": "Configuration and Compilation",
                        "lines": 8
                    },
                    {
                        "name": "Platform Support",
                        "lines": 1
                    },
                    {
                        "name": "Platform-Specific Notes",
                        "lines": 10
                    },
                    {
                        "name": "Selected Bug Fixes",
                        "lines": 60
                    }
                ]
            },
            {
                "name": "Acknowledgements",
                "lines": 26,
                "subsections": [
                    {
                        "name": "Reporting Bugs",
                        "lines": 17
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 11,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "perl5221delta - what is new for perl v5.22.1\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This document describes differences between the 5.22.0 release and the 5.22.1 release.\n\nIf you are upgrading from an earlier release such as 5.20.0, first read perl5220delta, which\ndescribes differences between 5.20.0 and 5.22.0.\n",
                "subsections": [
                    {
                        "name": "Incompatible Changes",
                        "content": "There are no changes intentionally incompatible with 5.20.0 other than the following single\nexception, which we deemed to be a sensible change to make in order to get the new \"\\b{wb}\"\nand (in particular) \"\\b{sb}\" features sane before people decided they're worthless because of\nbugs in their Perl 5.22.0 implementation and avoided them in the future.  If any others\nexist, they are bugs, and we request that you submit a report.  See \"Reporting Bugs\" below.\n"
                    },
                    {
                        "name": "Bounds Checking Constructs",
                        "content": "Several bugs, including a segmentation fault, have been fixed with the bounds checking\nconstructs (introduced in Perl 5.22) \"\\b{gcb}\", \"\\b{sb}\", \"\\b{wb}\", \"\\B{gcb}\", \"\\B{sb}\", and\n\"\\B{wb}\".  All the \"\\B{}\" ones now match an empty string; none of the \"\\b{}\" ones do.  [GH\n#14976] <https://github.com/Perl/perl5/issues/14976>\n"
                    },
                    {
                        "name": "Modules and Pragmata",
                        "content": ""
                    },
                    {
                        "name": "Updated Modules and Pragmata",
                        "content": "•   Module::CoreList has been upgraded from version 5.20150520 to 5.20151213.\n\n•   PerlIO::scalar has been upgraded from version 0.22 to 0.23.\n\n•   POSIX has been upgraded from version 1.53 to 1.5301.\n\nIf \"POSIX::strerror\" was passed $! as its argument then it accidentally cleared $!.  This\nhas been fixed.  [GH #14951] <https://github.com/Perl/perl5/issues/14951>\n\n•   Storable has been upgraded from version 2.53 to 2.5301.\n\n•   warnings has been upgraded from version 1.32 to 1.34.\n\nThe \"warnings::enabled\" example now actually uses \"warnings::enabled\".  [GH #14905]\n<https://github.com/Perl/perl5/issues/14905>\n\n•   Win32 has been upgraded from version 0.51 to 0.52.\n\nThis has been updated for Windows 8.1, 10 and 2012 R2 Server.\n"
                    }
                ]
            },
            "Documentation": {
                "content": "",
                "subsections": [
                    {
                        "name": "Changes to Existing Documentation",
                        "content": "perltie\n\n•   The usage of \"FIRSTKEY\" and \"NEXTKEY\" has been clarified.\n\nperlvar\n\n•   The specific true value of $!{E...} is now documented, noting that it is subject to\nchange and not guaranteed.\n"
                    }
                ]
            },
            "Diagnostics": {
                "content": "The following additions or changes have been made to diagnostic output, including warnings\nand fatal error messages.  For the complete list of diagnostic messages, see perldiag.\n",
                "subsections": [
                    {
                        "name": "Changes to Existing Diagnostics",
                        "content": "•   The \"printf\" and \"sprintf\" builtins are now more careful about the warnings they emit:\nargument reordering now disables the \"redundant argument\" warning in all cases.  [GH\n#14772] <https://github.com/Perl/perl5/issues/14772>\n"
                    },
                    {
                        "name": "Configuration and Compilation",
                        "content": "•   Using the \"NOHASHSEED\" define in combination with the default hash algorithm\n\"PERLHASHFUNCONEATATIMEHARD\" resulted in a fatal error while compiling the\ninterpreter, since Perl 5.17.10.  This has been fixed.\n\n•   Configuring with ccflags containing quotes (e.g.\n\"-Accflags='-DAPPLLIBEXP=\\\"/usr/libperl\\\"'\") was broken in Perl 5.22.0 but has now been\nfixed again.  [GH #14732] <https://github.com/Perl/perl5/issues/14732>\n"
                    },
                    {
                        "name": "Platform Support",
                        "content": ""
                    },
                    {
                        "name": "Platform-Specific Notes",
                        "content": "IRIX\n•   Under some circumstances IRIX stdio fgetc() and fread() set the errno to \"ENOENT\",\nwhich made no sense according to either IRIX or POSIX docs.  Errno is now cleared in\nsuch cases.  [GH #14557] <https://github.com/Perl/perl5/issues/14557>\n\n•   Problems when multiplying long doubles by infinity have been fixed.  [GH #14993]\n<https://github.com/Perl/perl5/issues/14993>\n\n•   All tests pass now on IRIX with the default build configuration.\n"
                    },
                    {
                        "name": "Selected Bug Fixes",
                        "content": "•   \"qr/(?[ () ])/\" no longer segfaults, giving a syntax error message instead.  [GH #14851]\n<https://github.com/Perl/perl5/issues/14851>\n\n•   Regular expression possessive quantifier Perl 5.20 regression now fixed.\n\"qr/\"PAT\"{\"min,max\"}+\"\"/\" is supposed to behave identically to\n\"qr/(?>\"PAT\"{\"min,max\"})/\".  Since Perl 5.20, this didn't work if min and max were equal.\n[GH #14857] <https://github.com/Perl/perl5/issues/14857>\n\n•   Certain syntax errors in \"Extended Bracketed Character Classes\" in perlrecharclass caused\npanics instead of the proper error message.  This has now been fixed.  [GH #15016]\n<https://github.com/Perl/perl5/issues/15016>\n\n•   \"BEGIN <>\" no longer segfaults and properly produces an error message.  [GH #13546]\n<https://github.com/Perl/perl5/issues/13546>\n\n•   A regression from Perl 5.20 has been fixed, in which some syntax errors in \"(?[...])\"\nconstructs within regular expression patterns could cause a segfault instead of a proper\nerror message.  [GH #14933] <https://github.com/Perl/perl5/issues/14933>\n\n•   Another problem with \"(?[...])\"  constructs has been fixed wherein things like \"\\c]\"\ncould cause panics.  [GH #14934] <https://github.com/Perl/perl5/issues/14934>\n\n•   In Perl 5.22.0, the logic changed when parsing a numeric parameter to the -C option, such\nthat the successfully parsed number was not saved as the option value if it parsed to the\nend of the argument.  [GH #14748] <https://github.com/Perl/perl5/issues/14748>\n\n•   Warning fatality is now ignored when rewinding the stack.  This prevents infinite\nrecursion when the now fatal error also causes rewinding of the stack.  [GH #14319]\n<https://github.com/Perl/perl5/issues/14319>\n\n•   A crash with \"%::=(); J->${\\\"::\"}\" has been fixed.  [GH #14790]\n<https://github.com/Perl/perl5/issues/14790>\n\n•   Nested quantifiers such as \"/.{1}??/\" should cause perl to throw a fatal error, but were\nbeing silently accepted since Perl 5.20.0.  This has been fixed.  [GH #14960]\n<https://github.com/Perl/perl5/issues/14960>\n\n•   Regular expression sequences such as \"/(?i/\" (and similarly with other recognized flags\nor combination of flags) should cause perl to throw a fatal error, but were being\nsilently accepted since Perl 5.18.0.  This has been fixed.  [GH #14931]\n<https://github.com/Perl/perl5/issues/14931>\n\n•   A bug in hexadecimal floating point literal support meant that high-order bits could be\nlost in cases where mantissa overflow was caused by too many trailing zeros in the\nfractional part.  This has been fixed.  [GH #15032]\n<https://github.com/Perl/perl5/issues/15032>\n\n•   Another hexadecimal floating point bug, causing low-order bits to be lost in cases where\nthe last hexadecimal digit of the mantissa has bits straddling the limit of the number of\nbits allowed for the mantissa, has also been fixed.  [GH #15033]\n<https://github.com/Perl/perl5/issues/15033>\n\n•   Further hexadecimal floating point bugs have been fixed: In some circumstances, the %a\nformat specifier could variously lose the sign of the negative zero, fail to display\nzeros after the radix point with the requested precision, or even lose the radix point\nafter the leftmost hexadecimal digit completely.\n\n•   A crash caused by incomplete expressions within \"/(?[ ])/\" (e.g.  \"/(?[[0]+()+])/\") has\nbeen fixed.  [GH #15045] <https://github.com/Perl/perl5/issues/15045>\n"
                    }
                ]
            },
            "Acknowledgements": {
                "content": "Perl 5.22.1 represents approximately 6 months of development since Perl 5.22.0 and contains\napproximately 19,000 lines of changes across 130 files from 27 authors.\n\nExcluding auto-generated files, documentation and release tools, there were approximately\n1,700 lines of changes to 44 .pm, .t, .c and .h files.\n\nPerl continues to flourish into its third decade thanks to a vibrant community of users and\ndevelopers.  The following people are known to have contributed the improvements that became\nPerl 5.22.1:\n\nAaron Crane, Abigail, Andy Broad, Aristotle Pagaltzis, Chase Whitener, Chris 'BinGOs'\nWilliams, Craig A. Berry, Daniel Dragan, David Mitchell, Father Chrysostomos, Herbert\nBreunung, Hugo van der Sanden, James E Keenan, Jan Dubois, Jarkko Hietaniemi, Karen\nEtheridge, Karl Williamson, Lukas Mai, Matthew Horsfall, Peter Martini, Rafael Garcia-Suarez,\nRicardo Signes, Shlomi Fish, Sisyphus, Steve Hay, Tony Cook, Victor Adam.\n\nThe list above is almost certainly incomplete as it is automatically generated from version\ncontrol history.  In particular, it does not include the names of the (very much appreciated)\ncontributors who reported issues to the Perl bug tracker.\n\nMany of the changes included in this version originated in the CPAN modules included in\nPerl's core.  We're grateful to the entire CPAN community for helping Perl to flourish.\n\nFor a more complete list of all of Perl's historical contributors, please see the AUTHORS\nfile in the Perl source distribution.\n",
                "subsections": [
                    {
                        "name": "Reporting Bugs",
                        "content": "If you find what you think is a bug, you might check the articles recently posted to the\ncomp.lang.perl.misc newsgroup and the perl bug database at https://rt.perl.org/ .  There may\nalso be information at http://www.perl.org/ , the Perl Home Page.\n\nIf you believe you have an unreported bug, please run the perlbug program included with your\nrelease.  Be sure to trim your bug down to a tiny but sufficient test case.  Your bug report,\nalong with the output of \"perl -V\", will be sent off to perlbug@perl.org to be analysed by\nthe Perl porting team.\n\nIf the bug you are reporting has security implications, which make it inappropriate to send\nto a publicly archived mailing list, then please send it to perl5-security-report@perl.org.\nThis points to a closed subscription unarchived mailing list, which includes all the core\ncommitters, who will be able to help assess the impact of issues, figure out a resolution,\nand help co-ordinate the release of patches to mitigate or fix the problem across all\nplatforms on which Perl is supported.  Please only use this address for security issues in\nthe Perl core, not for modules independently distributed on CPAN.\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "The Changes file for an explanation of how to view exhaustive details on what changed.\n\nThe INSTALL file for how to build Perl.\n\nThe README file for general stuff.\n\nThe Artistic and Copying files for copyright information.\n\n\n\nperl v5.34.0                                 2025-07-25                             PERL5221DELTA(1)",
                "subsections": []
            }
        }
    }
}