5 perl5294delta - what is new for perl v5.29.4
9 This document describes differences between the 5.29.3 release and the 5.29.4
12 If you are upgrading from an earlier release such as 5.29.2, first read
13 L<perl5293delta>, which describes differences between 5.29.2 and 5.29.3.
15 =head1 Core Enhancements
17 =head2 The maximum number of times a pattern can match has been doubled
20 This means if you specify C<qr/a+/> that there can be anywhere from 1
21 through 65535 C<"a">'s in a row, instead of 32267 as previously.
23 =head1 Incompatible Changes
25 =head2 Assigning non-zero to C<$[> is fatal
27 Setting L<< C<$[>|perlvar/$[ >> to a non-zero value has been deprecated since
28 Perl 5.12 and now throws a fatal error.
29 See L<<< perldeprecation/Assigning non-zero to C<< $[ >> is fatal >>>.
31 =head2 Previously deprecated sysread()/syswrite() on :utf8 handles now fatal
33 Calling sysread(), syswrite(), send() or recv() on a C<:utf8> handle,
34 whether applied explicitly or implicitly, is now fatal. This was
35 deprecated in perl 5.24.
37 There were two problems with calling these functions on C<:utf8>
44 All four functions only paid attention to the C<:utf8> flag. Other
45 layers were completely ignored, so a handle with
46 C<:encoding(UTF-16LE)> layer would be treated as UTF-8. Other layers,
47 such as compression are completely ignored with or without the
52 sysread() and recv() would read from the handle, skipping any
53 validation by the layers, and do no validation of their own. This
54 could lead to invalidly encoded perl scalars.
60 =head2 my() in false conditional prohibited
62 Declarations such as C<my $x if 0> are no longer permitted.
66 =head2 Fatalize $* and $#
68 These special variables, long deprecated, now throw exceptions when used.
72 =head2 Fatalize unqualified use of dump()
74 The C<dump()> function, long discouraged, may no longer be used unless it is
75 fully qualified, I<i.e.>, C<CORE::dump()>.
79 =head2 Remove File::Glob::glob()
81 The C<File::Glob::glob()> function, long deprecated, has been removed and now
82 throws an exception which advises use of C<File::Glob::bsd_glob()> instead.
86 =head1 Modules and Pragmata
88 =head2 Updated Modules and Pragmata
94 L<B> has been upgraded from version 1.74 to 1.75.
98 L<B::Concise> has been upgraded from version 1.003 to 1.004.
102 L<B::Deparse> has been upgraded from version 1.48 to 1.49.
106 L<bignum> has been upgraded from version 0.50 to 0.51.
110 L<bytes> has been upgraded from version 1.06 to 1.07.
114 L<CPAN> has been upgraded from version 2.20-TRIAL to 2.21-TRIAL.
118 L<Devel::Peek> has been upgraded from version 1.27 to 1.28.
122 L<feature> has been upgraded from version 1.53 to 1.54.
126 L<File::Copy> has been upgraded from version 2.33 to 2.34.
130 L<File::Glob> has been upgraded from version 1.31 to 1.32.
134 L<Module::CoreList> has been upgraded from version 5.20180920 to 5.20181020.
138 L<sigtrap> has been upgraded from version 1.08 to 1.09.
142 L<Unicode::UCD> has been upgraded from version 0.71 to 0.72.
146 L<vars> has been upgraded from version 1.04 to 1.05.
148 C<vars.pm> no longer disables non-vars strict when checking if strict
149 vars is enabled. [perl #130674]
153 =head2 Removed Modules and Pragmata
159 B::Debug is no longer distributed with the core distribution. It remains
164 =head1 Internal Changes
170 The sizing pass has been eliminated from the regular expression
171 compiler. An extra pass may instead be needed in some cases to count
172 the number of parenthetical capture groups.
176 =head1 Selected Bug Fixes
182 C<pack "u", "invalid uuencoding"> now properly NUL terminates the
183 zero-length SV produced. [perl #132655]
187 Improve the debugging output for calloc() calls with C<-Dm>. [perl #133439]
191 Regexp script runs were failing to permit ASCII digits in some cases.
196 On Unix-like systems supporting a platform-specific technique for
197 determining L<< C<$^X>|perlvar/$^X >>, Perl failed to fall back to the
198 generic technique when the platform-specific one fails (for example, a Linux
199 system with /proc not mounted). This was a regression in Perl 5.28.0.
204 =head1 Acknowledgements
206 Perl 5.29.4 represents approximately 4 weeks of development since Perl
207 5.29.3 and contains approximately 8,400 lines of changes across 180 files
210 Excluding auto-generated files, documentation and release tools, there were
211 approximately 6,300 lines of changes to 110 .pm, .t, .c and .h files.
213 Perl continues to flourish into its fourth decade thanks to a vibrant
214 community of users and developers. The following people are known to have
215 contributed the improvements that became Perl 5.29.4:
217 Aaron Crane, Alexandr Savca, Andreas König, Chris 'BinGOs' Williams, Craig
218 A. Berry, Dagfinn Ilmari Mannsåker, David Mitchell, Eugen Konkov, James E
219 Keenan, John SJ Anderson, Karl Williamson, Matthias Bethke, Nicolas R.,
220 Sisyphus, Slaven Rezic, Tomasz Konojacki, Tony Cook.
222 The list above is almost certainly incomplete as it is automatically
223 generated from version control history. In particular, it does not include
224 the names of the (very much appreciated) contributors who reported issues to
225 the Perl bug tracker.
227 Many of the changes included in this version originated in the CPAN modules
228 included in Perl's core. We're grateful to the entire CPAN community for
229 helping Perl to flourish.
231 For a more complete list of all of Perl's historical contributors, please
232 see the F<AUTHORS> file in the Perl source distribution.
234 =head1 Reporting Bugs
236 If you find what you think is a bug, you might check the perl bug database
237 at L<https://rt.perl.org/> . There may also be information at
238 L<http://www.perl.org/> , the Perl Home Page.
240 If you believe you have an unreported bug, please run the L<perlbug> program
241 included with your release. Be sure to trim your bug down to a tiny but
242 sufficient test case. Your bug report, along with the output of C<perl -V>,
243 will be sent off to perlbug@perl.org to be analysed by the Perl porting team.
245 If the bug you are reporting has security implications which make it
246 inappropriate to send to a publicly archived mailing list, then see
247 L<perlsec/SECURITY VULNERABILITY CONTACT INFORMATION>
248 for details of how to report the issue.
252 If you wish to thank the Perl 5 Porters for the work we had done in Perl 5,
253 you can do so by running the C<perlthanks> program:
257 This will send an email to the Perl 5 Porters list with your show of thanks.
261 The F<Changes> file for an explanation of how to view exhaustive details on
264 The F<INSTALL> file for how to build Perl.
266 The F<README> file for general stuff.
268 The F<Artistic> and F<Copying> files for copyright information.