-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathperl5254delta.html
342 lines (220 loc) · 15.3 KB
/
perl5254delta.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
<?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="#Performance-Enhancements">Performance Enhancements</a></li>
<li><a href="#Documentation">Documentation</a>
<ul>
<li><a href="#Changes-to-Existing-Documentation">Changes to Existing Documentation</a>
<ul>
<li><a href="#perlcall">perlcall</a></li>
</ul>
</li>
</ul>
</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="#Configuration-and-Compilation">Configuration and Compilation</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>perl5254delta - what is new for perl v5.25.4</p>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>This document describes differences between the 5.25.3 release and the 5.25.4 release.</p>
<p>If you are upgrading from an earlier release such as 5.25.2, first read <a href="/cperl/perl5253delta.html">perl5253delta</a>, which describes differences between 5.25.2 and 5.25.3.</p>
<h1 id="Performance-Enhancements">Performance Enhancements</h1>
<ul>
<li><p>The rather slow implementation for the experimental subroutine signatures feature has been made much faster; it is now comparable in speed with the old-style <code>my ($a, $b, @c) = @_</code>.</p>
</li>
</ul>
<h1 id="Documentation">Documentation</h1>
<h2 id="Changes-to-Existing-Documentation">Changes to Existing Documentation</h2>
<h3 id="perlcall"><a href="/cperl/perlcall.html">perlcall</a></h3>
<ul>
<li><p>Removed redundant <code>dSP</code> from an example.</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 href="/cperl/lib/Archive/Tar.html">Archive::Tar</a> has been upgraded from version 2.08 to 2.10.</p>
</li>
<li><p><a href="/cperl/lib/arybase.html">arybase</a> has been upgraded from version 0.11 to 0.12.</p>
</li>
<li><p><a href="/cperl/lib/B.html">B</a> has been upgraded from version 1.62 to 1.63.</p>
</li>
<li><p><a href="/cperl/lib/B/Concise.html">B::Concise</a> has been upgraded from version 0.996 to 0.998.</p>
</li>
<li><p><a href="/cperl/lib/B/Deparse.html">B::Deparse</a> has been upgraded from version 1.37 to 1.38.</p>
</li>
<li><p><a href="/cperl/lib/base.html">base</a> has been upgraded from version 2.23 to 2.24.</p>
</li>
<li><p><a href="/cperl/lib/bignum.html">bignum</a> has been upgraded from version 0.43 to 0.43_01.</p>
</li>
<li><p><a href="/cperl/lib/Carp.html">Carp</a> has been upgraded from version 1.41 to 1.42.</p>
</li>
<li><p><a href="/cperl/lib/Config/Perl/V.html">Config::Perl::V</a> has been upgraded from version 0.26 to 0.27.</p>
</li>
<li><p><a href="/cperl/lib/CPAN.html">CPAN</a> has been upgraded from version 2.14 to 2.14_01.</p>
</li>
<li><p><a href="/cperl/lib/CPAN/Meta.html">CPAN::Meta</a> has been upgraded from version 2.150005 to 2.150010.</p>
</li>
<li><p><a href="/cperl/lib/Digest.html">Digest</a> has been upgraded from version 1.17 to 1.17_01.</p>
</li>
<li><p><a href="/cperl/lib/Digest/SHA.html">Digest::SHA</a> has been upgraded from version 5.95 to 5.96.</p>
</li>
<li><p><a href="/cperl/lib/Encode.html">Encode</a> has been upgraded from version 2.84 to 2.86.</p>
</li>
<li><p><a href="/cperl/lib/encoding.html">encoding</a> has been upgraded from version 2.17_01 to 2.18.</p>
</li>
<li><p><a href="/cperl/lib/Errno.html">Errno</a> has been upgraded from version 1.25 to 1.26.</p>
</li>
<li><p><a href="/cperl/lib/ExtUtils/MakeMaker.html">ExtUtils::MakeMaker</a> has been upgraded from version 7.18 to 7.24.</p>
</li>
<li><p><a href="/cperl/lib/File/Fetch.html">File::Fetch</a> has been upgraded from version 0.48 to 0.52.</p>
</li>
<li><p><a href="/cperl/lib/File/Spec.html">File::Spec</a> has been upgraded from version 3.64 to 3.65.</p>
</li>
<li><p><a href="/cperl/lib/Hash/Util.html">Hash::Util</a> has been upgraded from version 0.20 to 0.21.</p>
</li>
<li><p><a href="/cperl/lib/HTTP/Tiny.html">HTTP::Tiny</a> has been upgraded from version 0.058 to 0.064.</p>
</li>
<li><p><a href="/cperl/lib/I18N/LangTags.html">I18N::LangTags</a> has been upgraded from version 0.40 to 0.41.</p>
</li>
<li><p><a href="/cperl/lib/IO.html">IO</a> has been upgraded from version 1.36 to 1.37.</p>
</li>
<li><p><a>IO-Compress</a> has been upgraded from version 2.069 to 2.069_01.</p>
</li>
<li><p><a href="/cperl/lib/IO/Socket/IP.html">IO::Socket::IP</a> has been upgraded from version 0.37 to 0.38.</p>
</li>
<li><p><a href="/cperl/lib/IPC/Cmd.html">IPC::Cmd</a> has been upgraded from version 0.94 to 0.96.</p>
</li>
<li><p><a href="/cperl/lib/JSON/PP.html">JSON::PP</a> has been upgraded from version 2.27400 to 2.27400_01.</p>
</li>
<li><p><a href="/cperl/lib/Locale/Maketext.html">Locale::Maketext</a> has been upgraded from version 1.27 to 1.28.</p>
</li>
<li><p><a href="/cperl/lib/Locale/Maketext/Simple.html">Locale::Maketext::Simple</a> has been upgraded from version 0.21 to 0.21_01.</p>
</li>
<li><p><a href="/cperl/lib/Memoize.html">Memoize</a> has been upgraded from version 1.03 to 1.03_01.</p>
</li>
<li><p><a href="/cperl/lib/Module/CoreList.html">Module::CoreList</a> has been upgraded from version 5.20160720 to 5.20160820.</p>
</li>
<li><p><a href="/cperl/lib/Module/Load/Conditional.html">Module::Load::Conditional</a> has been upgraded from version 0.64 to 0.68.</p>
</li>
<li><p><a href="/cperl/lib/Module/Metadata.html">Module::Metadata</a> has been upgraded from version 1.000032 to 1.000033.</p>
</li>
<li><p><a href="/cperl/lib/Net/Ping.html">Net::Ping</a> has been upgraded from version 2.43 to 2.44.</p>
</li>
<li><p><a href="/cperl/lib/NEXT.html">NEXT</a> has been upgraded from version 0.65 to 0.67.</p>
</li>
<li><p><a href="/cperl/lib/Opcode.html">Opcode</a> has been upgraded from version 1.35 to 1.37.</p>
</li>
<li><p><a href="/cperl/lib/Pod/Html.html">Pod::Html</a> has been upgraded from version 1.22 to 1.2201.</p>
</li>
<li><p><a href="/cperl/lib/Pod/Perldoc.html">Pod::Perldoc</a> has been upgraded from version 3.25_02 to 3.27.</p>
</li>
<li><p><a href="/cperl/lib/POSIX.html">POSIX</a> has been upgraded from version 1.70 to 1.71.</p>
</li>
<li><p><a href="/cperl/lib/Storable.html">Storable</a> has been upgraded from version 2.56 to 2.57.</p>
</li>
<li><p><a href="/cperl/lib/Sys/Syslog.html">Sys::Syslog</a> has been upgraded from version 0.34 to 0.34_01.</p>
</li>
<li><p><a href="/cperl/lib/Test.html">Test</a> has been upgraded from version 1.28 to 1.29.</p>
</li>
<li><p><a href="/cperl/lib/Test/Harness.html">Test::Harness</a> has been upgraded from version 3.36 to 3.36_01.</p>
</li>
<li><p><a href="/cperl/lib/Test/Simple.html">Test::Simple</a> has been upgraded from version 1.302045 to 1.302052.</p>
</li>
<li><p><a href="/cperl/lib/Tie/Hash/NamedCapture.html">Tie::Hash::NamedCapture</a> has been upgraded from version 0.09 to 0.10.</p>
</li>
<li><p><a href="/cperl/lib/Time/Local.html">Time::Local</a> has been upgraded from version 1.2300 to 1.24.</p>
</li>
</ul>
<h1 id="Configuration-and-Compilation">Configuration and Compilation</h1>
<ul>
<li><p>A probe for <code>gai_strerror</code> was added to <i>Configure</i> that checks if the the gai_strerror() routine is available and can be used to translate error codes returned by getaddrinfo() into human readable strings.</p>
</li>
</ul>
<h1 id="Platform-Support">Platform Support</h1>
<h2 id="Platform-Specific-Notes">Platform-Specific Notes</h2>
<dl>
<dt id="Hurd">Hurd</dt>
<dd>
<p>The hints for Hurd have been improved enabling malloc wrap and reporting the GNU libc used (previously it was an empty string when reported).</p>
</dd>
</dl>
<h1 id="Internal-Changes">Internal Changes</h1>
<ul>
<li><p>Three new ops, <code>OP_ARGELEM</code>, <code>OP_ARGDEFELEM</code> and <code>OP_ARGCHECK</code> have been added. These are intended principally to implement the individual elements of a subroutine signature, plus any overall checking required.</p>
</li>
</ul>
<h1 id="Selected-Bug-Fixes">Selected Bug Fixes</h1>
<ul>
<li><p>Problems with in-place array sorts: code like <code>@a = sort { ... } @a</code>, where the source and destination of the sort are the same plain array, are optimised to do less copying around. Two side-effects of this optimisation were that the contents of <code>@a</code> as visible to to sort routine were partially sorted, and under some circumstances accessing <code>@a</code> during the sort could crash the interpreter. Both these issues have been fixed, and Sort functions see the original value of <code>@a</code>.</p>
</li>
<li><p>Non-ASCII string delimiters are now reported correctly in error messages for unterminated strings. [perl #128701]</p>
</li>
<li><p><code>pack("p", ...)</code> used to emit its warning ("Attempt to pack pointer to temporary value") erroneously in some cases, but has been fixed.</p>
</li>
<li><p><code>@DB::args</code> is now exempt from "used once" warnings. The warnings only occurred under <b>-w</b>, because <i>warnings.pm</i> itself uses <code>@DB::args</code> multiple times.</p>
</li>
<li><p>The use of built-in arrays or hash slices in a double-quoted string no longer issues a warning ("Possible unintended interpolation...") if the variable has not been mentioned before. This affected code like <code>qq|@DB::args|</code> and <code>qq|@SIG{'CHLD', 'HUP'}|</code>. (The special variables <code>@-</code> and <code>@+</code> were already exempt from the warning.)</p>
</li>
<li><p><code>gethostent</code> and similar functions now perform a null check internally, to avoid crashing with torsocks. This was a regression from 5.22. [perl #128740]</p>
</li>
<li><p><code>defined *{'!'}</code>, <code>defined *{'['}</code>, and <code>defined *{'-'}</code> no longer leak memory if the typeglob in question has never been accessed before.</p>
</li>
<li><p>In 5.25.4 fchown() was changed not to accept negative one as an argument because in some platforms that is an error. However, in some other platforms that is an acceptable argument. This change has been reverted [perl #128967].</p>
</li>
<li><p>Mentioning the same constant twice in a row (which is a syntax error) no longer fails an assertion under debugging builds. This was a regression from 5.20. [perl #126482]</p>
</li>
<li><p>Many issues relating to <code>printf "%a"</code> of hexadecimal floating point were fixed. In addition, the "subnormals" (formerly known as "denormals") floating point anumbers are now supported both with the plain IEEE 754 floating point numbers (64-bit or 128-bit) and the x86 80-bit "extended precision". Note that subnormal hexadecimal floating point literals will give a warning about "exponent underflow". [perl #128843, #128889, #128890, #128893, #128909, #128919]</p>
</li>
<li><p>A regression in 5.24 with <code>tr/\N{U+...}/foo/</code> when the code point was between 128 and 255 has been fixed. [perl #128734].</p>
</li>
<li><p>A regression from the previous development release, 5.23.3, where compiling a regular expression could crash the interpreter has been fixed. [perl #128686].</p>
</li>
<li><p>Use of a string delimiter whose code point is above 2**31 now works correctly on platforms that allow this. Previously, certain characters, due to truncation, would be confused with other delimiter characters with special meaning (such as <code>?</code> in <code>m?...?</code>), resulting in inconsistent behaviour. Note that this is non-portable, and is based on Perl's extension to UTF-8, and is probably not displayable nor enterable by any editor. [perl #128738]</p>
</li>
<li><p><code>@{x</code> followed by a newline where <code>x</code> represents a control or non-ASCII character no longer produces a garbled syntax error message or a crash. [perl #128951]</p>
</li>
</ul>
<h1 id="Acknowledgements">Acknowledgements</h1>
<p>Perl 5.25.4 represents approximately 4 weeks of development since Perl 5.25.3 and contains approximately 18,000 lines of changes across 820 files from 23 authors.</p>
<p>Excluding auto-generated files, documentation and release tools, there were approximately 9,200 lines of changes to 660 .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.4:</p>
<p>Chris 'BinGOs' Williams, Craig A. Berry, Dagfinn Ilmari Mannsåker, Dan Collins, Daniel Dragan, David Mitchell, Father Chrysostomos, H.Merijn Brand, James E Keenan, Jarkko Hietaniemi, Karen Etheridge, Karl Williamson, Lukas Mai, Neil Bowers, Nicolas R., Pino Toscano, Rafael Garcia-Suarez, Richard Levitte, Shlomi Fish, Smylers, Steve Hay, 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>