{
    "mode": "man",
    "parameter": "perl5142delta",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/perl5142delta/1/json",
    "generated": "2026-06-16T10:35:36Z",
    "sections": {
        "NAME": {
            "content": "perl5142delta - what is new for perl v5.14.2\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This document describes differences between the 5.14.1 release and the 5.14.2 release.\n\nIf you are upgrading from an earlier release such as 5.14.0, first read perl5141delta, which\ndescribes differences between 5.14.0 and 5.14.1.\n",
            "subsections": [
                {
                    "name": "Core Enhancements",
                    "content": "No changes since 5.14.0.\n"
                }
            ]
        },
        "Security": {
            "content": "\"File::Glob::bsdglob()\" memory error with GLOBALTDIRFUNC (CVE-2011-2728).\nCalling \"File::Glob::bsdglob\" with the unsupported flag GLOBALTDIRFUNC would cause an\naccess violation / segfault.  A Perl program that accepts a flags value from an external\nsource could expose itself to denial of service or arbitrary code execution attacks.  There\nare no known exploits in the wild.  The problem has been corrected by explicitly disabling\nall unsupported flags and setting unused function pointers to null.  Bug reported by Clément\nLecigne.\n\n\"Encode\" decodexs n-byte heap-overflow (CVE-2011-2939)\nA bug in \"Encode\" could, on certain inputs, cause the heap to overflow.  This problem has\nbeen corrected.  Bug reported by Robert Zacek.\n",
            "subsections": [
                {
                    "name": "Incompatible Changes",
                    "content": "There are no changes intentionally incompatible with 5.14.0. If any exist, they are bugs and\nreports are welcome.\n"
                }
            ]
        },
        "Deprecations": {
            "content": "There have been no deprecations since 5.14.0.\n",
            "subsections": [
                {
                    "name": "Modules and Pragmata",
                    "content": ""
                },
                {
                    "name": "New Modules and Pragmata",
                    "content": "None\n"
                },
                {
                    "name": "Updated Modules and Pragmata",
                    "content": "•   CPAN has been upgraded from version 1.9600 to version 1.960001.\n\nCPAN::Distribution has been upgraded from version 1.9602 to 1.960201.\n\nBackported bugfixes from CPAN version 1.9800.  Ensures proper detection of\n\"configurerequires\" prerequisites from CPAN Meta files in the case where\n\"dynamicconfig\" is true.  [rt.cpan.org #68835]\n\nAlso ensures that \"configurerequires\" is only checked in META files, not MYMETA files,\nso protect against MYMETA generation that drops \"configurerequires\".\n\n•   Encode has been upgraded from version 2.42 to 2.4201.\n\nSee \"Security\".\n\n•   File::Glob has been upgraded from version 1.12 to version 1.13.\n\nSee \"Security\".\n\n•   PerlIO::scalar has been upgraded from version 0.11 to 0.1101.\n\nIt fixes a problem with \"open my $fh, \">\", \\$scalar\" not working if $scalar is a copy-on-\nwrite scalar.\n"
                },
                {
                    "name": "Removed Modules and Pragmata",
                    "content": "None\n"
                },
                {
                    "name": "Platform Support",
                    "content": ""
                },
                {
                    "name": "New Platforms",
                    "content": "None\n"
                },
                {
                    "name": "Discontinued Platforms",
                    "content": "None\n"
                },
                {
                    "name": "Platform-Specific Notes",
                    "content": "HP-UX PA-RISC/64 now supports gcc-4.x\nA fix to correct the socketsize now makes the test suite pass on HP-UX PA-RISC for\n64bitall builds.\n\nBuilding on OS X 10.7 Lion and Xcode 4 works again\nThe build system has been updated to work with the build tools under Mac OS X 10.7.\n"
                },
                {
                    "name": "Bug Fixes",
                    "content": "•   In @INC filters (subroutines returned by subroutines in @INC), $ used to misbehave: If\nreturned from a subroutine, it would not be copied, but the variable itself would be\nreturned; and freeing $ (e.g., with \"undef *\") would cause perl to crash.  This has\nbeen fixed [perl #91880].\n\n•   Perl 5.10.0 introduced some faulty logic that made \"U*\" in the middle of a pack template\nequivalent to \"U0\" if the input string was empty.  This has been fixed [perl #90160].\n\n•   \"caller\" no longer leaks memory when called from the DB package if @DB::args was assigned\nto after the first call to \"caller\".  Carp was triggering this bug [perl #97010].\n\n•   \"utf8::decode\" had a nasty bug that would modify copy-on-write scalars' string buffers in\nplace (i.e., skipping the copy).  This could result in hashes having two elements with\nthe same key [perl #91834].\n\n•   Localising a tied variable used to make it read-only if it contained a copy-on-write\nstring.\n\n•   Elements of restricted hashes (see the fields pragma) containing copy-on-write values\ncouldn't be deleted, nor could such hashes be cleared (\"%hash = ()\").\n\n•   Locking a hash element that is a glob copy no longer causes subsequent assignment to it\nto corrupt the glob.\n\n•   A panic involving the combination of the regular expression modifiers \"/aa\" introduced in\n5.14.0 and the \"\\b\" escape sequence has been fixed [perl #95964].\n"
                },
                {
                    "name": "Known Problems",
                    "content": "This is a list of some significant unfixed bugs, which are regressions from 5.12.0.\n\n•   \"PERLGLOBALSTRUCT\" is broken.\n\nSince perl 5.14.0, building with \"-DPERLGLOBALSTRUCT\" hasn't been possible. This means\nthat perl currently doesn't work on any platforms that require it to be built this way,\nincluding Symbian.\n\nWhile \"PERLGLOBALSTRUCT\" now works again on recent development versions of perl, it\nactually working on Symbian again hasn't been verified.\n\nWe'd be very interested in hearing from anyone working with Perl on Symbian.\n"
                }
            ]
        },
        "Acknowledgements": {
            "content": "Perl 5.14.2 represents approximately three months of development since Perl 5.14.1 and\ncontains approximately 1200 lines of changes across 61 files from 9 authors.\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.14.2:\n\nCraig A. Berry, David Golden, Father Chrysostomos, Florian Ragwitz, H.Merijn Brand, Karl\nWilliamson, Nicholas Clark, Pau Amma and Ricardo Signes.\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 http://rt.perl.org/perlbug/ .\nThere may also 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 be able to help assess the impact of issues, figure out a resolution, and\nhelp co-ordinate the release of patches to mitigate or fix the problem across all platforms\non which Perl is supported. Please only use this address for security issues in the Perl\ncore, 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                             PERL5142DELTA(1)",
            "subsections": []
        }
    },
    "summary": "perl5142delta - what is new for perl v5.14.2",
    "flags": [],
    "examples": [],
    "see_also": []
}