-
Notifications
You must be signed in to change notification settings - Fork 2
/
perl5257delta.html
682 lines (430 loc) · 22.2 KB
/
perl5257delta.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:[email protected]" />
</head>
<body style="background-color: white">
<ul id="index">
<li><a href="#NAME">NAME</a></li>
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
<li><a href="#Core-Enhancements">Core Enhancements</a>
<ul>
<li><a href="#Indented-Here-documents">Indented Here-documents</a></li>
<li><a href="#and-INC">'.' and @INC</a></li>
<li><a href="#create-a-safer-utf8_hop-called-utf8_hop_safe">create a safer utf8_hop() called utf8_hop_safe()</a></li>
<li><a href="#Fix-taint-handling-in-list-assignment">Fix taint handling in list assignment</a></li>
<li><a href="#CAPTURE-CAPTURE-and-CAPTURE_ALL">@{^CAPTURE}, %{^CAPTURE}, and %{^CAPTURE_ALL}</a></li>
<li><a href="#op.c:-silence-compiler-warning-in-fold_constants">op.c: silence compiler warning in fold_constants()</a></li>
</ul>
</li>
<li><a href="#Performance-Enhancements">Performance Enhancements</a></li>
<li><a href="#Modules-and-Pragmata">Modules and Pragmata</a>
<ul>
<li><a href="#Updated-Modules-and-Pragmata">Updated Modules and Pragmata</a></li>
</ul>
</li>
<li><a href="#Documentation">Documentation</a>
<ul>
<li><a href="#Changes-to-Existing-Documentation">Changes to Existing Documentation</a>
<ul>
<li><a href="#perlfunc">perlfunc</a></li>
<li><a href="#perldata">perldata</a></li>
<li><a href="#perlobj">perlobj</a></li>
<li><a href="#perlop">perlop</a></li>
<li><a href="#perllocale">perllocale</a></li>
<li><a href="#perldiag">perldiag</a></li>
<li><a href="#perlguts">perlguts</a></li>
<li><a href="#perlvar">perlvar</a></li>
<li><a href="#perlootut">perlootut</a></li>
<li><a href="#perlhack">perlhack</a></li>
<li><a href="#perlre">perlre</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#Diagnostics">Diagnostics</a>
<ul>
<li><a href="#Changes-to-Existing-Diagnostics">Changes to Existing Diagnostics</a></li>
</ul>
</li>
<li><a href="#Utility-Changes">Utility Changes</a></li>
<li><a href="#Configuration-and-Compilation">Configuration and Compilation</a></li>
<li><a href="#Testing">Testing</a></li>
<li><a href="#Platform-Support">Platform Support</a>
<ul>
<li><a href="#Platform-Specific-Notes">Platform-Specific Notes</a></li>
</ul>
</li>
<li><a href="#Internal-Changes">Internal Changes</a></li>
<li><a href="#Selected-Bug-Fixes">Selected Bug Fixes</a></li>
<li><a href="#Acknowledgements">Acknowledgements</a></li>
<li><a href="#Reporting-Bugs">Reporting Bugs</a></li>
<li><a href="#SEE-ALSO">SEE ALSO</a></li>
</ul>
<h1 id="NAME">NAME</h1>
<p>perl5257delta - what is new for perl v5.25.7</p>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>This document describes differences between the 5.25.6 release and the 5.25.7 release.</p>
<p>If you are upgrading from an earlier release such as 5.25.5, first read <a href="/cperl/perl5256delta.html">perl5256delta</a>, which describes differences between 5.25.5 and 5.25.6.</p>
<h1 id="Core-Enhancements">Core Enhancements</h1>
<h2 id="Indented-Here-documents">Indented Here-documents</h2>
<p>This adds a new modifier '~' to here-docs that tells the parser that it should look for /^\s*$DELIM\n/ as the closing delimiter.</p>
<p>These syntaxes are all supported:</p>
<pre><code> <<~EOF;
<<~\EOF;
<<~'EOF';
<<~"EOF";
<<~`EOF`;
<<~ 'EOF';
<<~ "EOF";
<<~ `EOF`;</code></pre>
<p>The '~' modifier will strip, from each line in the here-doc, the same whitespace that appears before the delimiter.</p>
<p>Newlines will be copied as is, and lines that don't include the proper beginning whitespace will cause perl to croak.</p>
<p>For example:</p>
<pre><code> if (1) {
print <<~EOF;
Hello there
EOF
}</code></pre>
<p>prints "Hello there\n" with no leading whitespace.</p>
<h2 id="and-INC">'.' and @INC</h2>
<p>Perl now provides a way to build perl without <code>.</code> in @INC by default. If you want this feature, you can build with -Ddefault_inc_excludes_dot</p>
<p>Because the testing / make process for perl modules do not function well with <code>.</code> missing from @INC, Perl now supports the environment variable PERL_USE_UNSAFE_INC=1 which makes Perl behave as it previously did, returning <code>.</code> to @INC in all child processes.</p>
<p>WARNING: PERL_USE_UNSAFE_INC has been provided during the perl 5.25 development cycle and is not guaranteed to function in perl 5.26.</p>
<h2 id="create-a-safer-utf8_hop-called-utf8_hop_safe">create a safer utf8_hop() called utf8_hop_safe()</h2>
<p>Unlike utf8_hop(), utf8_hop_safe() won't navigate before the beginning or after the end of the supplied buffer.</p>
<h2 id="Fix-taint-handling-in-list-assignment">Fix taint handling in list assignment</h2>
<p>commit v5.25.6-79-gb09ed99 reworked list assignment, and accidentally broke taint handling at the same time.</p>
<h2 id="CAPTURE-CAPTURE-and-CAPTURE_ALL">@{^CAPTURE}, %{^CAPTURE}, and %{^CAPTURE_ALL}</h2>
<p>@{^CAPTURE} exposes the capture buffers of the last match as an array. So $1 is ${^CAPTURE}[0].</p>
<p>%{^CAPTURE} is the equivalent to %+ (ie named captures)</p>
<p>%{^CAPTURE_ALL} is the equivalent to %- (ie all named captures).</p>
<h2 id="op.c:-silence-compiler-warning-in-fold_constants">op.c: silence compiler warning in fold_constants()</h2>
<pre><code> op.c: In function ‘S_fold_constants’:
op.c:4374:28: warning: argument ‘o’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
S_fold_constants(pTHX_ OP *o)
^</code></pre>
<p>This warning has been silenced.</p>
<h1 id="Performance-Enhancements">Performance Enhancements</h1>
<ul>
<li><p>Reduce cost of SvVALID().</p>
</li>
<li><p><code>$ref1 = $ref2</code> has been optimized.</p>
</li>
<li><p>Array and hash assignment are now faster, e.g.</p>
<pre><code> (..., @a) = (...);
(..., %h) = (...);</code></pre>
<p>especially when the RHS is empty.</p>
</li>
<li><p>Reduce the number of odd special cases for the SvSCREAM flag.</p>
</li>
<li><p>Avoid sv_catpvn() in do_vop() when unneeded.</p>
</li>
<li><p>Enhancements in Regex concat COW implementation.</p>
</li>
<li><p>Speed up AV and HV clearing/undeffing.</p>
</li>
<li><p>Better optimise array and hash assignment</p>
</li>
</ul>
<h1 id="Modules-and-Pragmata">Modules and Pragmata</h1>
<h2 id="Updated-Modules-and-Pragmata">Updated Modules and Pragmata</h2>
<ul>
<li><p><a>podlators</a> has been upgraded from version 4.08 to 4.09.</p>
</li>
<li><p><a href="/cperl/lib/Archive/Tar.html">Archive::Tar</a> has been upgraded from version 2.14 to 2.18.</p>
</li>
<li><p><a href="/cperl/lib/B.html">B</a> has been upgraded from version 1.64 to 1.65.</p>
</li>
<li><p><a href="/cperl/lib/Data/Dumper.html">Data::Dumper</a> has been upgraded from version 2.162 to 2.165.</p>
<p>The XS implementation now supports Deparse.</p>
</li>
<li><p><a href="/cperl/lib/Devel/Peek.html">Devel::Peek</a> has been upgraded from version 1.25 to 1.26.</p>
</li>
<li><p><a href="/cperl/lib/DynaLoader.html">DynaLoader</a> has been upgraded from version 1.39 to 1.40.</p>
</li>
<li><p><a href="/cperl/lib/Errno.html">Errno</a> has been upgraded from version 1.26 to 1.27.</p>
<p>Document that using <code>%!</code> loads Errno for you.</p>
</li>
<li><p><a href="/cperl/lib/File/Spec.html">File::Spec</a> has been upgraded from version 3.65 to 3.66.</p>
</li>
<li><p><a href="/cperl/lib/Hash/Util.html">Hash::Util</a> has been upgraded from version 0.21 to 0.22.</p>
</li>
<li><p><a href="/cperl/lib/JSON/PP.html">JSON::PP</a> has been upgraded from version 2.27400_01 to 2.27400_02.</p>
</li>
<li><p><a href="/cperl/lib/List/Util.html">List::Util</a> has been upgraded from version 1.46 to 1.46_02.</p>
</li>
<li><p><a href="/cperl/lib/Math/BigInt.html">Math::BigInt</a> has been upgraded from version 1.999726(_01) to 1.999727.</p>
<p>There have also been some core customizations.</p>
</li>
<li><p><a href="/cperl/lib/Math/Complex.html">Math::Complex</a> has been upgraded from version 1.59 to 1.5901.</p>
</li>
<li><p><a href="/cperl/lib/Module/CoreList.html">Module::CoreList</a> has been upgraded from version 5.20161020 to 5.20161120.</p>
</li>
<li><p><a href="/cperl/lib/mro.html">mro</a> has been upgraded from version 1.19 to 1.20.</p>
</li>
<li><p><a href="/cperl/lib/Net/Ping.html">Net::Ping</a> has been upgraded from version 2.51 to 2.55.</p>
<p>Remove sudo from 500_ping_icmp.t.</p>
<p>Avoid stderr noise in tests</p>
<p>Check for echo in new Net::Ping tests.</p>
</li>
<li><p><a href="/cperl/lib/Opcode.html">Opcode</a> has been upgraded from version 1.38 to 1.39.</p>
</li>
<li><p><a href="/cperl/lib/POSIX.html">POSIX</a> has been upgraded from version 1.73 to 1.75.</p>
</li>
<li><p><a href="/cperl/lib/Scalar/Util.html">Scalar::Util</a> has been upgraded from version 1.46 to 1.46_02.</p>
</li>
<li><p><a href="/cperl/lib/Storable.html">Storable</a> has been upgraded from version 2.58 to 2.59.</p>
</li>
<li><p><a href="/cperl/lib/Term/ANSIColor.html">Term::ANSIColor</a> has been upgraded from version 4.05 to 4.06.</p>
</li>
<li><p><a href="/cperl/lib/Test/Simple.html">Test::Simple</a> has been upgraded from version 1.302059 to 1.302062.</p>
</li>
<li><p><a href="/cperl/lib/threads.html">threads</a> has been upgraded from version 2.09 to 2.10.</p>
</li>
<li><p><a href="/cperl/lib/Time/HiRes.html">Time::HiRes</a> has been upgraded from version 1.9740_01 to 1.9740_03.</p>
<p>Now uses clockid_t.</p>
</li>
<li><p><a href="/cperl/lib/Unicode/Collate.html">Unicode::Collate</a> has been upgraded from version 1.14 to 1.18.</p>
</li>
<li><p><a href="/cperl/lib/Unicode/Normalize.html">Unicode::Normalize</a> is now maintained by p5p and has been moved to dist/</p>
</li>
<li><p><a href="/cperl/lib/Unicode/UCD.html">Unicode::UCD</a> has been upgraded from version 0.66 to 0.67.</p>
</li>
<li><p><a href="/cperl/lib/XS/Typemap.html">XS::Typemap</a> has been upgraded from version 0.14 to 0.15.</p>
</li>
</ul>
<h1 id="Documentation">Documentation</h1>
<h2 id="Changes-to-Existing-Documentation">Changes to Existing Documentation</h2>
<h3 id="perlfunc"><a href="/cperl/perlfunc.html">perlfunc</a></h3>
<ul>
<li><p>Defined on aggregates is no longer allowed. Perlfunc was still reporting it as deprecated, and that it will be deleted in the future.</p>
</li>
</ul>
<h3 id="perldata"><a href="/cperl/perldata.html">perldata</a></h3>
<ul>
<li><p>Use of single character variables, with the variable name a non printable character in the range \x80-\xFF is no longer allowed. Update the docs to reflect this.</p>
</li>
</ul>
<h3 id="perlobj"><a href="/cperl/perlobj.html">perlobj</a></h3>
<ul>
<li><p>Added a section on calling methods using their fully qualified names.</p>
</li>
<li><p>Do not discourage manual @ISA.</p>
</li>
</ul>
<h3 id="perlop"><a href="/cperl/perlop.html">perlop</a></h3>
<ul>
<li><p>Clarify behavior single quote regexps.</p>
</li>
</ul>
<h3 id="perllocale"><a href="/cperl/perllocale.html">perllocale</a></h3>
<ul>
<li><p>Some locales aren't compatible with Perl. Note the potential bad consequences of using them.</p>
</li>
</ul>
<h3 id="perldiag"><a href="/cperl/perldiag.html">perldiag</a></h3>
<ul>
<li><p>Deprecations are to be marked with a D. <code>"%s() is deprecated on :utf8 handles"</code> use a deprecation message, and as such, such be marked <code>"(D deprecated)"</code> and not <code>"(W deprecated)"</code>.</p>
</li>
</ul>
<h3 id="perlguts"><a href="/cperl/perlguts.html">perlguts</a></h3>
<ul>
<li><p>add pTHX_ to magic method examples.</p>
</li>
</ul>
<h3 id="perlvar"><a href="/cperl/perlvar.html">perlvar</a></h3>
<ul>
<li><p>Document @ISA. Was documented other places, not not in perlvar.</p>
</li>
</ul>
<h3 id="perlootut"><a href="/cperl/perlootut.html">perlootut</a></h3>
<ul>
<li><p>Tidy the document.</p>
</li>
<li><p>Mention Moo more.</p>
</li>
</ul>
<h3 id="perlhack"><a href="/cperl/perlhack.html">perlhack</a></h3>
<ul>
<li><p>Document Tab VS Space.</p>
</li>
</ul>
<h3 id="perlre"><a href="/cperl/perlre.html">perlre</a></h3>
<ul>
<li><p>Several minor enhancements to the documentation.</p>
</li>
</ul>
<h1 id="Diagnostics">Diagnostics</h1>
<p>The following additions or changes have been made to diagnostic output, including warnings and fatal error messages. For the complete list of diagnostic messages, see <a href="/cperl/perldiag.html">perldiag</a>.</p>
<h2 id="Changes-to-Existing-Diagnostics">Changes to Existing Diagnostics</h2>
<ul>
<li><p>Improve error for missing tie() package/method. This brings the error messages in line with the ones used for normal method calls, despite not using call_method().</p>
</li>
<li><p>Make the sysread()/syswrite/() etc :utf8 handle warnings default. These warnings were under 'deprecated' previously.</p>
</li>
<li><p>'do' errors now refer to 'do' (not 'require').</p>
</li>
</ul>
<h1 id="Utility-Changes">Utility Changes</h1>
<ul>
<li><p>Porting/pod_lib.pl</p>
<p>Removed spurious executable bit.</p>
<p>Account for possibility of DOS file endings.</p>
</li>
<li><p>perf/benchmarks</p>
<p>Tidy file, rename some symbols.</p>
</li>
<li><p>Porting/checkAUTHORS.pl</p>
<p>Replace obscure character range with \w.</p>
</li>
<li><p>t/porting/regen.t</p>
<p>try to be more helpful when tests fail.</p>
</li>
<li><p>utils/h2xs.PL</p>
<p>Avoid infinite loop for enums.</p>
</li>
</ul>
<h1 id="Configuration-and-Compilation">Configuration and Compilation</h1>
<ul>
<li><p>Remove "Warning: perl appears in your path"</p>
<p>This install warning is more or less obsolete, since most platforms already *will* have a /usr/bin/perl or similar provided by the OS.</p>
</li>
<li><p>Reduce verbosity of "make install.man"</p>
<p>Previously, two progress messages were emitted for each manpage: one by installman itself, and one by the function in install_lib.pl that it calls to actually install the file. Disabling the second of those in each case saves over 750 lines of unhelpful output.</p>
</li>
<li><p>Cleanup for clang -Weverything support. [perl 129961]</p>
</li>
<li><p>Configure: signbit scan was assuming too much, stop assuming negative 0.</p>
</li>
<li><p>Various compiler warnings have been silenced.</p>
</li>
<li><p>Several smaller changes have been made to remove impediments to compiling under C++11.</p>
</li>
</ul>
<h1 id="Testing">Testing</h1>
<ul>
<li><p>XS-APItest/t/utf8.t: Several small fixes and enhancements.</p>
</li>
<li><p>Tests for locales were erroneously using locales incompatible with Perl.</p>
</li>
</ul>
<h1 id="Platform-Support">Platform Support</h1>
<h2 id="Platform-Specific-Notes">Platform-Specific Notes</h2>
<dl>
<dt id="Darwin">Darwin</dt>
<dd>
<p>don't treat -Dprefix=/usr as special, instead require an extra option -Ddarwin_distribution to produce the same results.</p>
</dd>
<dt id="POSIX">POSIX</dt>
<dd>
<p>Finish removing POSIX deprecated functions.</p>
</dd>
<dt id="OS-X">OS X</dt>
<dd>
<p>OS X El Capitan doesn't implement the clock_gettime() or clock_getres() APIs, emulate them as necessary.</p>
</dd>
<dt id="macOS">macOS</dt>
<dd>
<p>Deprecated syscall(2) on macOS 10.12.</p>
</dd>
<dt id="EBCDIC">EBCDIC</dt>
<dd>
<p>Several tests have been updated to work (or be skipped) on EBCDIC platforms.</p>
</dd>
<dt id="HP-UX">HP-UX</dt>
<dd>
<p><a href="/cperl/lib/Net/Ping.html">Net::Ping</a> UDP test is skipped on HP-UX.</p>
</dd>
<dt id="VMS">VMS</dt>
<dd>
<p>Move _pDEPTH and _aDEPTH after config.h otherwise DEBUGGING may not be defined yet.</p>
<p>VAXC has not been a possibility for a good long while, and the versions of the DEC/Compaq/HP/VSI C compiler that report themselves as "DEC" in a listing file are 15 years or more out-of-date and can be safely desupported.</p>
</dd>
<dt id="VMS-And-Win32">VMS And Win32</dt>
<dd>
<p>Fix some breakage, add 'undef' value for default_inc_excludes_dot in build scripts.</p>
</dd>
<dt id="Linux">Linux</dt>
<dd>
<p>Drop support for Linux a.out Linux has used ELF for over twenty years.</p>
</dd>
<dt id="NetBSD-VAX">NetBSD-VAX</dt>
<dd>
<p>Test fixes and minor updates.</p>
<p>Account for lack of <code>inf</code>, <code>nan</code>, and <code>-0.0</code> support.</p>
</dd>
<dt id="Win32">Win32</dt>
<dd>
<p>fp definitions have been updated.</p>
</dd>
<dt id="OpenBSD-6">OpenBSD 6</dt>
<dd>
<p>OpenBSD 6 still does not support returning pid, gid or uid with SA_SIGINFO. Make sure this is accounted for.</p>
</dd>
<dt id="FreeBSD">FreeBSD</dt>
<dd>
<p>t/uni/overload.t: Skip hanging test on FreeBSD.</p>
</dd>
</dl>
<h1 id="Internal-Changes">Internal Changes</h1>
<ul>
<li><p>The meanings of some internal SV flags have been changed</p>
<p>OPpRUNTIME, SVpbm_VALID, SVpbm_TAIL, SvTAIL_on, SvTAIL_off, SVrepl_EVAL, SvEVALED</p>
</li>
<li><p>Change <code>hv_fetch(…, "…", …, …)</code> to <code>hv_fetchs(…, "…", …)</code></p>
<p>The dual-life dists all use Devel::PPPort, so they can use this function even though it was only added in 5.10.</p>
</li>
</ul>
<h1 id="Selected-Bug-Fixes">Selected Bug Fixes</h1>
<ul>
<li><p>Handle SvIMMORTALs in LHS of list assign. [perl #129991]</p>
</li>
<li><p>[perl #130010] a5540cf breaks texinfo</p>
<p>This involved user-defined Unicode properties.</p>
</li>
<li><p>Fix error message for unclosed <code>\N{</code> in regcomp.</p>
<p>An unclosed <code>\N{</code> could give the wrong error message <code>"\N{NAME} must be resolved by the lexer"</code>.</p>
</li>
<li><p>List assignment in list context where the LHS contained aggregates and where there were not enough RHS elements, used to skip scalar lvalues. Previously, <code>(($a,$b,@c,$d) = (1))</code> in list context returned <code>($a)</code>; now it returns <code>($a,$b,$d)</code>. <code>(($a,$b,$c) = (1))</code> is unchanged: it still returns <code>($a,$b,$c)</code>. This can be seen in the following:</p>
<pre><code> sub inc { $_++ for @_ }
inc(($a,$b,@c,$d) = (10))</code></pre>
<p>Formerly, the values of <code>($a,$b,$d)</code> would be left as <code>(11,undef,undef)</code>; now they are <code>(11,1,1)</code>.</p>
</li>
<li><p>[perl 129903]</p>
<p>The basic problem is that code like this: /(?{ s!!! })/ can trigger infinite recursion on the C stack (not the normal perl stack) when the last successful pattern in scope is itself. Since the C stack overflows this manifests as an untrappable error/segfault, which then kills perl.</p>
<p>We avoid the segfault by simply forbidding the use of the empty pattern when it would resolve to the currently executing pattern.</p>
</li>
<li><p>[perl 128997] Avoid reading beyond the end of the line buffer when there's a short UTF-8 character at the end.</p>
</li>
<li><p>[perl 129950] fix firstchar bitmap under utf8 with prefix optimisation.</p>
</li>
<li><p>[perl 129954] Carp/t/arg_string.t: be liberal in f/p formats.</p>
</li>
<li><p>[perl 129928] make do "a\0b" fail silently instead of throwing.</p>
</li>
<li><p>[perl 129130] make chdir allocate the stack it needs.</p>
</li>
</ul>
<h1 id="Acknowledgements">Acknowledgements</h1>
<p>Perl 5.25.7 represents approximately 4 weeks of development since Perl 5.25.6 and contains approximately 83,000 lines of changes across 630 files from 26 authors.</p>
<p>Excluding auto-generated files, documentation and release tools, there were approximately 13,000 lines of changes to 340 .pm, .t, .c and .h files.</p>
<p>Perl continues to flourish into its third decade thanks to a vibrant community of users and developers. The following people are known to have contributed the improvements that became Perl 5.25.7:</p>
<p>Aaron Crane, Abigail, Andrew Fresh, Andy Lester, Aristotle Pagaltzis, Chad Granum, Chris 'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari Mannsåker, Dan Collins, Dave Rolsky, David Mitchell, Hauke D, H.Merijn Brand, Hugo van der Sanden, James E Keenan, Jarkko Hietaniemi, Karl Williamson, Lukas Mai, Matthew Horsfall, Nicolas R., Stefan Seifert, Steve Hay, Todd Rinaldo, Tony Cook, Yves Orton.</p>
<p>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.</p>
<p>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.</p>
<p>For a more complete list of all of Perl's historical contributors, please see the <i>AUTHORS</i> file in the Perl source distribution.</p>
<h1 id="Reporting-Bugs">Reporting Bugs</h1>
<p>If you find what you think is a bug, you might check the perl bug database at <a href="https://rt.perl.org/">https://rt.perl.org/</a> . There may also be information at <a href="http://www.perl.org/">http://www.perl.org/</a> , the Perl Home Page.</p>
<p>If you believe you have an unreported bug, please run the <a>perlbug</a> program included with your release. Be sure to trim your bug down to a tiny but sufficient test case. Your bug report, along with the output of <code>perl -V</code>, will be sent off to [email protected] to be analysed by the Perl porting team.</p>
<p>If the bug you are reporting has security implications which make it inappropriate to send to a publicly archived mailing list, then see <a href="/cperl/perlsec.html#SECURITY-VULNERABILITY-CONTACT-INFORMATION">"SECURITY VULNERABILITY CONTACT INFORMATION" in perlsec</a> for details of how to report the issue.</p>
<h1 id="SEE-ALSO">SEE ALSO</h1>
<p>The <i>Changes</i> file for an explanation of how to view exhaustive details on what changed.</p>
<p>The <i>INSTALL</i> file for how to build Perl.</p>
<p>The <i>README</i> file for general stuff.</p>
<p>The <i>Artistic</i> and <i>Copying</i> files for copyright information.</p>
</body>
</html>