{
    "content": [
        {
            "type": "text",
            "text": "# PERL586DELTA (man)\n\n## NAME\n\nperl586delta - what is new for perl v5.8.6\n\n## DESCRIPTION\n\nThis document describes differences between the 5.8.5 release and the 5.8.6 release.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION** (10 subsections)\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "PERL586DELTA",
        "section": "",
        "mode": "man",
        "summary": "perl586delta - what is new for perl v5.8.6",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": [
                    {
                        "name": "Incompatible Changes",
                        "lines": 2
                    },
                    {
                        "name": "Core Enhancements",
                        "lines": 6
                    },
                    {
                        "name": "Modules and Pragmata",
                        "lines": 27
                    },
                    {
                        "name": "Utility Changes",
                        "lines": 2
                    },
                    {
                        "name": "Performance Enhancements",
                        "lines": 6
                    },
                    {
                        "name": "Selected Bug Fixes",
                        "lines": 29
                    },
                    {
                        "name": "New or Changed Diagnostics",
                        "lines": 4
                    },
                    {
                        "name": "Changed Internals",
                        "lines": 6
                    },
                    {
                        "name": "New Tests",
                        "lines": 2
                    },
                    {
                        "name": "Reporting Bugs",
                        "lines": 9
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 11,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "perl586delta - what is new for perl v5.8.6\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This document describes differences between the 5.8.5 release and the 5.8.6 release.\n",
                "subsections": [
                    {
                        "name": "Incompatible Changes",
                        "content": "There are no changes incompatible with 5.8.5.\n"
                    },
                    {
                        "name": "Core Enhancements",
                        "content": "The perl interpreter is now more tolerant of UTF-16-encoded scripts.\n\nOn Win32, Perl can now use non-IFS compatible LSPs, which allows Perl to work in conjunction\nwith firewalls such as McAfee Guardian. For full details see the file README.win32,\nparticularly if you're running Win95.\n"
                    },
                    {
                        "name": "Modules and Pragmata",
                        "content": "•   With the \"base\" pragma, an intermediate class with no fields used to messes up private\nfields in the base class. This has been fixed.\n\n•   Cwd upgraded to version 3.01 (as part of the new PathTools distribution)\n\n•   Devel::PPPort upgraded to version 3.03\n\n•   File::Spec upgraded to version 3.01 (as part of the new PathTools distribution)\n\n•   Encode upgraded to version 2.08\n\n•   ExtUtils::MakeMaker remains at version 6.17, as later stable releases currently available\non CPAN have some issues with core modules on some core platforms.\n\n•   I18N::LangTags upgraded to version 0.35\n\n•   Math::BigInt upgraded to version 1.73\n\n•   Math::BigRat upgraded to version 0.13\n\n•   MIME::Base64 upgraded to version 3.05\n\n•   POSIX::sigprocmask function can now retrieve the current signal mask without also setting\nit.\n\n•   Time::HiRes upgraded to version 1.65\n"
                    },
                    {
                        "name": "Utility Changes",
                        "content": "Perl has a new -dt command-line flag, which enables threads support in the debugger.\n"
                    },
                    {
                        "name": "Performance Enhancements",
                        "content": "\"reverse sort ...\" is now optimized to sort in reverse, avoiding the generation of a\ntemporary intermediate list.\n\n\"for (reverse @foo)\" now iterates in reverse, avoiding the generation of a temporary reversed\nlist.\n"
                    },
                    {
                        "name": "Selected Bug Fixes",
                        "content": "The regexp engine is now more robust when given invalid utf8 input, as is sometimes generated\nby buggy XS modules.\n\n\"foreach\" on threads::shared array used to be able to crash Perl. This bug has now been\nfixed.\n\nA regexp in \"STDOUT\"'s destructor used to coredump, because the regexp pad was already freed.\nThis has been fixed.\n\n\"goto &\" is now more robust - bugs in deep recursion and chained \"goto &\" have been fixed.\n\nUsing \"delete\" on an array no longer leaks memory. A \"pop\" of an item from a shared array\nreference no longer causes a leak.\n\n\"evalsv()\" failing a taint test could corrupt the stack - this has been fixed.\n\nOn platforms with 64 bit pointers numeric comparison operators used to erroneously compare\nthe addresses of references that are overloaded, rather than using the overloaded values.\nThis has been fixed.\n\n\"read\" into a UTF8-encoded buffer with an offset off the end of the buffer no longer mis-\ncalculates buffer lengths.\n\nAlthough Perl has promised since version 5.8 that \"sort()\" would be stable, the two cases\n\"sort {$b cmp $a}\" and \"sort {$b <=> $a}\" could produce non-stable sorts.   This is corrected\nin perl5.8.6.\n\nLocalising $^D no longer generates a diagnostic message about valid -D flags.\n"
                    },
                    {
                        "name": "New or Changed Diagnostics",
                        "content": "For -t and -T,\nToo late for \"-T\" option has been changed to the more informative\n\"-T\" is on the #! line, it must also be used on the command line\n"
                    },
                    {
                        "name": "Changed Internals",
                        "content": "From now on all applications embedding perl will behave as if perl were compiled with\n-DPERLUSESAFEPUTENV.  See \"Environment access\" in the INSTALL file for details.\n\nMost \"C\" source files now have comments at the top explaining their purpose, which should\nhelp anyone wishing to get an overview of the implementation.\n"
                    },
                    {
                        "name": "New Tests",
                        "content": "There are significantly more tests for the \"B\" suite of modules.\n"
                    },
                    {
                        "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 http://bugs.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.  You can browse and search the Perl 5 bugs at http://bugs.perl.org/\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "The Changes file for 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                              PERL586DELTA(1)",
                "subsections": []
            }
        }
    }
}