++ed by:
209 non-PAUSE users
Author image Todd Rinaldo
and 1 contributors


perl5335delta - what is new for perl v5.33.5


This document describes differences between the 5.33.4 release and the 5.33.5 release.

If you are upgrading from an earlier release such as 5.33.3, first read perl5334delta, which describes differences between 5.33.3 and 5.33.4.

Core Enhancements

New octal syntax 0oddddd

It is now possible to specify octal literals with 0o prefixes, as in 0o123_456, parallel to the existing construct to specify hexadecimal literal 0xddddd and binary literal 0bddddd. Also, the builtin oct() function now accepts this new syntax.

See "Scalar value constructors" in perldata and "oct EXPR" in perlfunc.

Modules and Pragmata

Updated Modules and Pragmata

  • Carp has been upgraded from version 1.50 to 1.51.

  • Config::Perl::V has been upgraded from version 0.32 to 0.33.

  • DynaLoader has been upgraded from version 1.48 to 1.49.

  • Encode has been upgraded from version 3.07 to 3.08.

  • ExtUtils::Install has been upgraded from version 2.18 to 2.20.

  • ExtUtils::ParseXS has been upgraded from version 3.41 to 3.42.

  • File::Copy has been upgraded from version 2.34 to 2.35.

  • File::Find has been upgraded from version 1.37 to 1.38.

  • File::Spec has been upgraded from version 3.79 to 3.80.

  • The libnet distribution has been upgraded from version 3.11 to 3.12.

  • Module::CoreList has been upgraded from version 5.20201120 to 5.20201220.

  • ODBM_File has been upgraded from version 1.16 to 1.17.

  • Opcode has been upgraded from version 1.48 to 1.49.

  • PerlIO::via::QuotedPrint has been upgraded from version 0.08 to 0.09.

  • POSIX has been upgraded from version 1.95 to 1.96.

  • Test::Harness has been upgraded from version 3.42 to 3.43.

  • Text::Balanced has been upgraded from version 2.03 to 2.04.

  • Time::HiRes has been upgraded from version 1.9765 to 1.9766.

  • warnings has been upgraded from version 1.48 to 1.49.

  • XS::APItest has been upgraded from version 1.13 to 1.14.


New Documentation

perldocstyle has been added to pod/.

This document is a guide for the authorship and maintenance of the documentation that ships with Perl.

Changes to Existing Documentation

We have attempted to update the documentation to reflect the changes listed in this document. If you find any we have missed, open an issue at https://github.com/Perl/perl5/issues.

Additionally, the following selected changes have been made:


  • msgsnd() documented a length field included in the packed MSG parameter to msgsnd(), but there was no such field. MSG contains only the type and the message content.


Tests were added and changed to reflect the other additions and changes in this release. Furthermore, these significant changes were made:

  • When testing in parallel on many-core platforms, you can now cause the test suite to finish somewhat earlier, but with less logical ordering of the tests, by setting


    while running the test suite.

Platform-Specific Notes


Windows now supports symlink() and readlink(), and lstat() is no longer an alias for stat(). [GH #18005].

Unlike POSIX systems, creating a symbolic link on Windows requires either elevated privileges or Windows 10 1703 or later with Developer Mode enabled.

stat(), including stat FILEHANDLE, and lstat() now uses our own implementation that populates the device dev and inode numbers ino returned rather than always returning zero. The number of links nlink field is now always populated.

${^WIN32_SLOPPY_STAT} previously controlled whether the nlink field was populated requiring a separate Windows API call to fetch, since nlink and the other information required for stat() is now retrieved in a single API call.

The -r and -w operators now return true for the STDIN, STDOUT and STDERR handles. Unfortunately it still won't return true for duplicates of those handles. [GH #8502].

The times returned by stat() and lstat() are no longer incorrect across Daylight Savings Time adjustments. [GH #6080].

-x on a filehandle should now match -x on the corresponding filename on Vista or later. [GH #4145].

-e '"' no longer incorrectly returns true. [GH #12431].

Internal Changes

  • All SvTRUE-ish functions now evaluate their arguments exactly once. In 5.32, plain "SvTRUE" in perlapi was changed to do that; now the rest do as well.

  • Unicode is now a first class citizen when considering the pattern /A*B/ where A and B are arbitrary. The pattern matching code tries to make a tight loop to match the span of A's. The logic of this was now really updated with support for UTF-8.

Selected Bug Fixes

  • semctl(), msgctl(), and shmctl() now properly reset the UTF-8 flag on the ARG parameter if it's modified for IPC_STAT or GETALL operations.

  • semctl(), msgctl(), and shmctl() now attempt to downgrade the ARG parameter if its value is being used as input to IPC_SET or SETALL calls. A failed downgrade will thrown an exception.

  • In cases where semctl(), msgctl() or shmctl() would treat the ARG parameter as a pointer, an undefined value no longer generates a warning. In most such calls the pointer isn't used anyway and this allows you to supply undef for a value not used by the underlying function.

  • semop() now downgrades the OPSTRING parameter, msgsnd() now downgrades the MSG parameter and shmwrite now downgrades the STRING parameter to treat them as bytes. Previously they would be left upgraded, providing a corrupted structure to the underlying function call.

  • msgrcv() now properly resets the UTF-8 flag the VAR parameter when it is modified. Previusly the UTF-8 flag could be left on, resulting in a possibly corrupt result in VAR.

Known Problems


Errata From Previous Releases



Perl 5.33.5 represents approximately 4 weeks of development since Perl 5.33.4 and contains approximately 22,000 lines of changes across 370 files from 27 authors.

Excluding auto-generated files, documentation and release tools, there were approximately 15,000 lines of changes to 220 .pm, .t, .c and .h files.

Perl continues to flourish into its fourth decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.33.5:

Branislav Zahradník, Chris 'BinGOs' Williams, Dan Book, Dan Kogai, David Cantrell, David Mitchell, Graham Knop, H.Merijn Brand, Jae Bradley, James E Keenan, Jason McIntosh, jkahrman, John Karr, Karen Etheridge, Karl Williamson, Leon Timmermans, Max Maischein, Paul Evans, Sawyer X, Sevan Janiyan, Shlomi Fish, Steve Hay, TAKAI Kousuke, Thibault Duponchelle, Tomasz Konojacki, Tom Hukins, Tony Cook.

The list above is almost certainly incomplete as it is automatically generated from version control history. In particular, it does not include the names of the (very much appreciated) contributors who reported issues to the Perl bug tracker.

Many of the changes included in this version originated in the CPAN modules included in Perl's core. We're grateful to the entire CPAN community for helping Perl to flourish.

For a more complete list of all of Perl's historical contributors, please see the AUTHORS file in the Perl source distribution.

Reporting Bugs

If you find what you think is a bug, you might check the perl bug database at https://github.com/Perl/perl5/issues. There may also be information at http://www.perl.org/, the Perl Home Page.

If you believe you have an unreported bug, please open an issue at https://github.com/Perl/perl5/issues. Be sure to trim your bug down to a tiny but sufficient test case.

If the bug you are reporting has security implications which make it inappropriate to send to a public issue tracker, then see "SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec for details of how to report the issue.

Give Thanks

If you wish to thank the Perl 5 Porters for the work we had done in Perl 5, you can do so by running the perlthanks program:


This will send an email to the Perl 5 Porters list with your show of thanks.


The Changes file for an explanation of how to view exhaustive details on what changed.

The INSTALL file for how to build Perl.

The README file for general stuff.

The Artistic and Copying files for copyright information.