{
    "mode": "man",
    "parameter": "perl5161delta",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/perl5161delta/1/json",
    "generated": "2026-08-22T03:02:41Z",
    "sections": {
        "NAME": {
            "content": "perl5161delta - what is new for perl v5.16.1\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This document describes differences between the 5.16.0 release and the 5.16.1 release.\n\nIf you are upgrading from an earlier release such as 5.14.0, first read perl5160delta, which\ndescribes differences between 5.14.0 and 5.16.0.\n",
            "subsections": []
        },
        "Security": {
            "content": "",
            "subsections": [
                {
                    "name": "an off-by-two error in Scalar-List-Util has been fixed",
                    "content": "The bugfix was in Scalar-List-Util 1.2304, and perl 5.16.1 includes Scalar-List-Util 1.25.\n"
                }
            ]
        },
        "Incompatible Changes": {
            "content": "There are no changes intentionally incompatible with 5.16.0 If any exist, they are bugs, and\nwe request that you submit a report.  See \"Reporting Bugs\" below.\n",
            "subsections": []
        },
        "Modules and Pragmata": {
            "content": "",
            "subsections": [
                {
                    "name": "Updated Modules and Pragmata",
                    "content": "•   Scalar::Util and List::Util have been upgraded from version 1.23 to version 1.25.\n\n•   B::Deparse  has  been  updated  from version 1.14 to 1.1401.  An \"uninitialized\" warning\nemitted by B::Deparse has been squashed [perl #113464].\n"
                }
            ]
        },
        "Configuration and Compilation": {
            "content": "•   Building perl with some Windows compilers used to fail due to a problem  with  miniperl's\n\"glob\"  operator  (which  uses  the  \"perlglob\"  program)  deleting  the PATH environment\nvariable [perl #113798].\n",
            "subsections": []
        },
        "Platform Support": {
            "content": "",
            "subsections": [
                {
                    "name": "Platform-Specific Notes",
                    "content": "VMS All C header files from the top-level directory of the distribution are now installed  on\nVMS,  providing  consistency with a long-standing practice on other platforms. Previously\nonly a subset were installed, which broke non-core extension builds for  extensions  that\ndepended on the missing include files.\n"
                }
            ]
        },
        "Selected Bug Fixes": {
            "content": "•   A  regression  introduced  in Perl v5.16.0 involving \"tr/SEARCHLIST/REPLACEMENTLIST/\" has\nbeen fixed.  Only the first instance is supposed to be meaningful if a character  appears\nmore  than  once  in  \"SEARCHLIST\".   Under  some  circumstances,  the final instance was\noverriding all earlier ones.  [perl #113584]\n\n•   \"B::COP::stashlen\" has been added.   This provides access to an internal field  added  in\nperl  5.16  under  threaded  builds.   It  was  broken at the last minute before 5.16 was\nreleased [perl #113034].\n\n•   The re pragma will no longer clobber $. [perl #113750]\n\n•   Unicode 6.1 published  an  incorrect  alias  for  one  of  the  CanonicalCombiningClass\nproperty's  values  (which range between 0 and 254).  The alias \"CCC133\" should have been\n\"CCC132\".  Perl now overrides the data file furnished by  Unicode  to  give  the  correct\nvalue.\n\n•   Duplicating scalar filehandles works again.  [perl #113764]\n\n•   Under  threaded  perls,  a  runtime  code block in a regular expression could corrupt the\npackage name stored in the op tree, resulting in bad  reads  in  \"caller\",  and  possibly\ncrashes [perl #113060].\n\n•   For  efficiency's sake, many operators and built-in functions return the same scalar each\ntime.  Lvalue subroutines and subroutines in the  CORE::  namespace  were  allowing  this\nimplementation  detail  to  leak through.  \"print &CORE::uc(\"a\"), &CORE::uc(\"b\")\" used to\nprint \"BB\".  The same thing would happen with an lvalue subroutine returning  the  return\nvalue of \"uc\".  Now the value is copied in such cases [perl #113044].\n\n•   \"SUB\" now works in special blocks (\"BEGIN\", \"END\", etc.).\n\n•   Formats that reference lexical variables from outside no longer result in crashes.\n",
            "subsections": []
        },
        "Known Problems": {
            "content": "There  are  no new known problems, but consult \"Known Problems\" in perl5160delta to see those\nidentified in the 5.16.0 release.\n",
            "subsections": []
        },
        "Acknowledgements": {
            "content": "Perl 5.16.1 represents approximately 2 months of development since Perl 5.16.0  and  contains\napproximately 14,000 lines of changes across 96 files from 8 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.16.1:\n\nChris  'BinGOs' Williams, Craig A. Berry, Father Chrysostomos, Karl Williamson, Paul Johnson,\nReini Urban, Ricardo Signes, Tony Cook.\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": []
        },
        "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  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 the\nPerl core, not for modules independently distributed on CPAN.\n",
            "subsections": []
        },
        "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\nperl v5.38.2                                 2026-06-12                             PERL5161DELTA(1)",
            "subsections": []
        }
    },
    "summary": "perl5161delta - what is new for perl v5.16.1",
    "flags": [],
    "examples": [],
    "see_also": []
}