5 perldelta - what is new for perl v5.23.0
9 This document describes differences between the 5.22.0 release and the 5.23.0
12 =head1 Core Enhancements
14 =head2 Unicode 8.0 is now supported
16 For details on what is in this release, see
17 L<http://www.unicode.org/versions/Unicode8.0.0/>.
19 =head2 Postfix dereferencing is no longer experimental
21 Using the C<postderef> and C<postderef_qq> features no longer emits a warning.
22 Existing code that disables that warning category will continue to work. The
23 C<5.24> feature bundle now includes those features.
25 =head1 Incompatible Changes
27 =head2 The C</\C/> character class has been removed.
29 This regular expression character class was deprecated in v5.20.0 and has
30 produced a deprecation warning since v5.22.0. It is now a compile-time
31 error. If you need to examine the individual bytes that make up a
32 UTF8-encoded character, then use C<utf8::encode()> on the string (or a
35 =head2 C<chdir('')> no longer chdirs home
37 Using C<chdir('')> or C<chdir(undef)> to chdir home has been deprecated since
38 perl v5.8, and will now fail. Use C<chdir()> instead.
40 =head1 Modules and Pragmata
42 =head2 Updated Modules and Pragmata
48 The libnet distribution has been upgraded from version 3.05 to 3.06.
52 The Scalar-List-Utils distribution has been upgraded from version 1.41 to 1.42.
56 L<autodie> has been upgraded from version 2.26 to 2.27.
60 L<CPAN::Meta> has been upgraded from version 2.150001 to 2.150005.
64 L<CPAN::Meta::Requirements> has been upgraded from version 2.132 to 2.133.
68 L<CPAN::Meta::YAML> has been upgraded from version 0.012 to 0.016.
72 L<Encode> has been upgraded from version 2.72 to 2.73.
76 L<encoding> has been upgraded from version 2.14 to 2.15.
80 L<ExtUtils::CBuilder> has been upgraded from version 0.280221 to 0.280223.
84 L<feature> has been upgraded from version 1.40 to 1.41.
88 L<Getopt::Long> has been upgraded from version 2.45 to 2.46.
92 L<HTTP::Tiny> has been upgraded from version 0.054 to 0.056.
96 L<List::Util> has been upgraded from version 1.41 to 1.42_01.
100 L<Locale::Codes> has been upgraded from version 3.34 to 3.35.
104 L<Math::BigInt> has been upgraded from version 1.9997 to 1.999701.
106 Correct the behaviour of bdiv() and bmod() in list context. [perl #124300]
108 Correct C<< Math::BigInt->new() >> for non-integer input. [perl #124325]
110 Speed up Math::BigFloat -> blog(). [perl #124382]
112 Fix bug in Math::BigFloat's bceil() and bint() methods. [perl #124412]
116 L<Math::BigRat> has been upgraded from version 0.2608 to 0.260801.
118 Correct the behaviour of bdiv() and bmod() in list context. [perl #124303]
122 L<Module::CoreList> has been upgraded from version 5.20150520 to 5.20150620.
126 L<Module::Metadata> has been upgraded from version 1.000026 to 1.000027.
130 L<parent> has been upgraded from version 0.232 to 0.234.
134 L<Parse::CPAN::Meta> has been upgraded from version 1.4414 to 1.4417.
138 L<perl5db.pl> has been upgraded from version 1.49 to 1.49_01.
140 User actions are no longer evaluated after the script under the
141 debugger finishes. [perl #71678]
145 L<Pod::Simple> has been upgraded from version 3.29 to 3.30.
149 L<Pod::Usage> has been upgraded from version 1.64 to 1.67.
153 L<POSIX> has been upgraded from version 1.53 to 1.54.
155 The NaN payload API has been implemented (getpayload, setpayload,
156 setpayloadsig, issignaling).
160 L<Scalar::Util> has been upgraded from version 1.41 to 1.42_01.
164 L<Socket> has been upgraded from version 2.018 to 2.020.
168 L<threads> has been upgraded from version 2.01 to 2.02.
172 L<Time::Piece> has been upgraded from version 1.29 to 1.30.
176 L<UNIVERSAL> has been upgraded from version 1.12 to 1.13.
178 Don't import from L<UNIVERSAL> in its documentation, it no longer
179 exports anything. [perl #125410]
183 =head1 Platform Support
185 =head2 Platform-Specific Notes
195 Visual C++ 2013 builds will now execute on XP and higher. Previously they would
196 only execute on Vista and higher.
200 You can now build perl with GNU Make and GCC. [perl #123440]
204 C<truncate($filename, $size)> now works for files over 4GB in size.
211 =head1 Selected Bug Fixes
217 Duplicating a closed file handle for write no longer creates a
218 filename of the form F<GLOB(0xXXXXXXXX)>. [perl #125115]
222 Warning fatality is now ignored when rewinding the stack. This
223 prevents infinite recursion when the now fatal error also causes
224 rewinding of the stack. [perl #123398]
228 In perl v5.22.0, the logic changed when parsing a numeric parameter to the -C
229 option, such that the successfully parsed number was not saved as the option
230 value if it parsed to the end of the argument. [perl #125381]
234 The PadlistNAMES macro is an lvalue again.
238 Zero -DPERL_TRACE_OPS memory for sub-threads.
240 perl_clone_using() was missing Zero init of PL_op_exec_cnt[]. This
241 caused sub-threads in threaded -DPERL_TRACE_OPS builds to spew exceedingly
242 large op-counts at destruct. These counts would print %x as "ABABABAB",
243 clearly a mem-poison value.
247 =head1 Acknowledgements
249 Perl 5.23.0 represents approximately 3 weeks of development since Perl 5.22.0
250 and contains approximately 86,000 lines of changes across 480 files from 29
253 Excluding auto-generated files, documentation and release tools, there were
254 approximately 55,000 lines of changes to 270 .pm, .t, .c and .h files.
256 Perl continues to flourish into its third decade thanks to a vibrant community
257 of users and developers. The following people are known to have contributed the
258 improvements that became Perl 5.23.0:
260 Chase Whitener, Chris 'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari
261 Mannsåker, Daniel Dragan, David Golden, David Mitchell, Hugo van der Sanden,
262 Jan Dubois, Jarkko Hietaniemi, Jerry D. Hedden, Jim Cromie, Karen Etheridge,
263 Karl Williamson, kmx, Lukas Mai, Martijn Lievaart, Matthew Horsfall, Niko Tyni,
264 Peter John Acklam, Rafael Garcia-Suarez, Reini Urban, Ricardo Signes, Shlomi
265 Fish, Steve Hay, Thomas Sibley, Tony Cook, Unicode Consortium, Zefram.
267 The list above is almost certainly incomplete as it is automatically generated
268 from version control history. In particular, it does not include the names of
269 the (very much appreciated) contributors who reported issues to the Perl bug
272 Many of the changes included in this version originated in the CPAN modules
273 included in Perl's core. We're grateful to the entire CPAN community for
274 helping Perl to flourish.
276 For a more complete list of all of Perl's historical contributors, please see
277 the F<AUTHORS> file in the Perl source distribution.
279 =head1 Reporting Bugs
281 If you find what you think is a bug, you might check the articles recently
282 posted to the comp.lang.perl.misc newsgroup and the perl bug database at
283 https://rt.perl.org/ . There may also be information at
284 http://www.perl.org/ , the Perl Home Page.
286 If you believe you have an unreported bug, please run the L<perlbug> program
287 included with your release. Be sure to trim your bug down to a tiny but
288 sufficient test case. Your bug report, along with the output of C<perl -V>,
289 will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
291 If the bug you are reporting has security implications, which make it
292 inappropriate to send to a publicly archived mailing list, then please send it
293 to perl5-security-report@perl.org. This points to a closed subscription
294 unarchived mailing list, which includes all the core committers, who will be
295 able to help assess the impact of issues, figure out a resolution, and help
296 co-ordinate the release of patches to mitigate or fix the problem across all
297 platforms on which Perl is supported. Please only use this address for
298 security issues in the Perl core, not for modules independently distributed on
303 The F<Changes> file for an explanation of how to view exhaustive details on
306 The F<INSTALL> file for how to build Perl.
308 The F<README> file for general stuff.
310 The F<Artistic> and F<Copying> files for copyright information.