5 [ this is a template for a new perldelta file. Any text flagged as XXX needs
6 to be processed before release. ]
8 perldelta - what is new for perl v5.23.6
12 This document describes differences between the 5.23.5 release and the 5.23.6
15 If you are upgrading from an earlier release such as 5.23.4, first read
16 L<perl5235delta>, which describes differences between 5.23.4 and 5.23.5.
20 XXX Any important notices here
22 =head1 Core Enhancements
24 XXX New core language features go here. Summarize user-visible core language
25 enhancements. Particularly prominent performance optimisations could go
26 here, but most should go in the L</Performance Enhancements> section.
28 [ List each enhancement as a =head2 entry ]
32 XXX Any security-related notices go here. In particular, any security
33 vulnerabilities closed should be noted here rather than in the
34 L</Selected Bug Fixes> section.
36 [ List each security issue as a =head2 entry ]
38 =head1 Incompatible Changes
40 =head2 Some regular expression patterns that had runtime errors now
43 This should have been in the perldelta for 5.23.4, but was omitted.
45 Almost all Unicode properties using the C<\p{}> and C<\P{}> regular
46 expression pattern constructs are now checked for validity at pattern
47 compilation time, and invalid ones will cause the program to not
48 compile. In earlier releases, this check was often deferred until run
49 time. Whenever an error check is moved from run- to compile time,
50 erroneous code is caught 100% of the time, whereas before it would only
51 get caught if and when the offending portion actually gets executed,
52 which for unreachable code might be never.
56 XXX Any deprecated features, syntax, modules etc. should be listed here.
58 =head2 Module removals
60 XXX Remove this section if inapplicable.
62 The following modules will be removed from the core distribution in a
63 future release, and will at that time need to be installed from CPAN.
64 Distributions on CPAN which require these modules will need to list them as
67 The core versions of these modules will now issue C<"deprecated">-category
68 warnings to alert you to this fact. To silence these deprecation warnings,
69 install the modules in question from CPAN.
71 Note that these are (with rare exceptions) fine modules that you are encouraged
72 to continue to use. Their disinclusion from core primarily hinges on their
73 necessity to bootstrapping a fully functional, CPAN-capable Perl installation,
74 not usually on concerns over their design.
80 XXX Note that deprecated modules should be listed here even if they are listed
81 as an updated module in the L</Modules and Pragmata> section.
85 [ List each other deprecation as a =head2 entry ]
87 =head2 Using code points above the platform's C<IV_MAX> is now
90 Unicode defines code points in the range C<0..0x10FFFF>. Some standards
91 at one time defined them up to 2**31 - 1, but Perl has allowed them to
92 be as high as anything that will fit in a word on the platform being
93 used. However, use of those above the platform's C<IV_MAX> is broken in
94 some constructs, notably C<tr///>, regular expression patterns involving
95 quantifiers, and in some arithmetic and comparison operations, such as
96 being the upper limit of a loop. Now the use of such code points raises
97 a deprecation warning, unless that warning category is turned off.
98 C<IV_MAX> is typically 2**31 -1 on 32-bit platforms, and 2**63-1 on
101 =head1 Performance Enhancements
103 XXX Changes which enhance performance without changing behaviour go here.
104 There may well be none in a stable release.
106 [ List each enhancement as a =item entry ]
116 =head1 Modules and Pragmata
118 XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
119 go here. If Module::CoreList is updated, generate an initial draft of the
120 following sections using F<Porting/corelist-perldelta.pl>. A paragraph summary
121 for important changes should then be added by hand. In an ideal world,
122 dual-life modules would have a F<Changes> file that could be cribbed.
124 [ Within each section, list entries as a =item entry ]
126 =head2 New Modules and Pragmata
136 =head2 Updated Modules and Pragmata
142 L<XXX> has been upgraded from version A.xx to B.yy.
146 =head2 Removed Modules and Pragmata
158 XXX Changes to files in F<pod/> go here. Consider grouping entries by
159 file and be sure to link to the appropriate page, e.g. L<perlfunc>.
161 =head2 New Documentation
163 XXX Changes which create B<new> files in F<pod/> go here.
167 XXX Description of the purpose of the new file here
169 =head2 Changes to Existing Documentation
171 XXX Changes which significantly change existing files in F<pod/> go here.
172 However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics>
181 XXX Description of the change here
187 The following additions or changes have been made to diagnostic output,
188 including warnings and fatal error messages. For the complete list of
189 diagnostic messages, see L<perldiag>.
191 XXX New or changed warnings emitted by the core's C<C> code go here. Also
192 include any changes in L<perldiag> that reconcile it to the C<C> code.
194 =head2 New Diagnostics
196 XXX Newly added diagnostic messages go under here, separated into New Errors
205 L<message|perldiag/"Invalid number '%s' for -C option.">
207 (F) You supplied a number to the -C option that either has extra leading
208 zeroes or overflows perl's unsigned integer representation.
219 XXX L<message|perldiag/"message">
223 =head2 Changes to Existing Diagnostics
225 XXX Changes (i.e. rewording) of diagnostic messages go here
231 XXX Describe change here
235 =head1 Utility Changes
237 XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go here.
238 Most of these are built within the directory F<utils>.
240 [ List utility changes as a =head2 entry for each utility and =item
241 entries for each change
242 Use L<XXX> with program names to get proper documentation linking. ]
254 =head1 Configuration and Compilation
256 XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools
257 go here. Any other changes to the Perl build process should be listed here.
258 However, any platform-specific changes should be listed in the
259 L</Platform Support> section, instead.
261 [ List changes as a =item entry ].
273 XXX Any significant changes to the testing of a freshly built perl should be
274 listed here. Changes which create B<new> files in F<t/> go here as do any
275 large changes to the testing harness (e.g. when parallel testing was added).
276 Changes to existing files in F<t/> aren't worth summarizing, although the bugs
277 that they represent may be covered elsewhere.
279 [ List each test improvement as a =item entry ]
289 =head1 Platform Support
291 XXX Any changes to platform support should be listed in the sections below.
293 [ Within the sections, list each platform as a =item entry with specific
294 changes as paragraphs below it. ]
298 XXX List any platforms that this version of perl compiles on, that previous
299 versions did not. These will either be enabled by new files in the F<hints/>
300 directories, or new subdirectories and F<README> files at the top level of the
305 =item XXX-some-platform
311 =head2 Discontinued Platforms
313 XXX List any platforms that this version of perl no longer compiles on.
317 =item XXX-some-platform
323 =head2 Platform-Specific Notes
325 XXX List any changes for specific platforms. This could include configuration
326 and compilation changes or changes in portability/compatibility. However,
327 changes within modules for platforms should generally be listed in the
328 L</Modules and Pragmata> section.
332 =item EBCDIC platforms, such as z/OS
334 UTF-EBCDIC is like UTF-8, but for EBCDIC platforms. It now has been
335 extended so that it can represent code points up to 2 ** 64 - 1 on
336 platforms with 64-bit words. This brings it into parity with UTF-8.
337 This enhancement requires an incompatible change to the representation
338 of code points in the range 2 ** 30 to 2 ** 31 -1 (the latter was the
339 previous maximum representable code point). This means that a file that
340 contains one of these code points, written out with previous versions of
341 perl cannot be read in, without conversion, by a perl containing this
342 change. We do not believe any such files are in existence, but if you
343 do have one, submit a ticket at L<mailto:perlbug@perl.org>, and we will
344 write a conversion script for you.
348 =head1 Internal Changes
350 XXX Changes which affect the interface available to C<XS> code go here. Other
351 significant internal changes for future core maintainers should be noted as
354 [ List each change as a =item entry ]
364 =head1 Selected Bug Fixes
366 XXX Important bug fixes in the core language are summarized here. Bug fixes in
367 files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>.
369 [ List each fix as a =item entry ]
375 C</...\G/> no longer crashes on utf8 strings. When C<\G> is a fixed number
376 of characters from the start of the regex, perl needs to count back that
377 many characters from the current C<pos()> position and start matching from
378 there. However, it was counting back bytes rather than characters, which
379 could lead to panics on utf8 strings.
383 =head1 Known Problems
385 XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any
386 tests that had to be C<TODO>ed for the release would be noted here. Unfixed
387 platform specific bugs also go here.
389 [ List each fix as a =item entry ]
399 =head1 Errata From Previous Releases
405 XXX Add anything here that we forgot to add, or were mistaken about, in
406 the perldelta of a previous release.
412 XXX If any significant core contributor has died, we've added a short obituary
415 =head1 Acknowledgements
417 XXX Generate this with:
419 perl Porting/acknowledgements.pl v5.23.5..HEAD
421 =head1 Reporting Bugs
423 If you find what you think is a bug, you might check the articles recently
424 posted to the comp.lang.perl.misc newsgroup and the perl bug database at
425 L<https://rt.perl.org/> . There may also be information at
426 L<http://www.perl.org/> , the Perl Home Page.
428 If you believe you have an unreported bug, please run the L<perlbug> program
429 included with your release. Be sure to trim your bug down to a tiny but
430 sufficient test case. Your bug report, along with the output of C<perl -V>,
431 will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
433 If the bug you are reporting has security implications, which make it
434 inappropriate to send to a publicly archived mailing list, then please send it
435 to perl5-security-report@perl.org. This points to a closed subscription
436 unarchived mailing list, which includes all the core committers, who will be
437 able to help assess the impact of issues, figure out a resolution, and help
438 co-ordinate the release of patches to mitigate or fix the problem across all
439 platforms on which Perl is supported. Please only use this address for
440 security issues in the Perl core, not for modules independently distributed on
445 The F<Changes> file for an explanation of how to view exhaustive details on
448 The F<INSTALL> file for how to build Perl.
450 The F<README> file for general stuff.
452 The F<Artistic> and F<Copying> files for copyright information.