-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathperl5141delta.html
344 lines (214 loc) · 12.5 KB
/
perl5141delta.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
<?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>perl5141delta - what is new for perl v5.14.1</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:[email protected]" />
</head>
<body>
<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></li>
<li><a href="#Security">Security</a></li>
<li><a href="#Incompatible-Changes">Incompatible Changes</a></li>
<li><a href="#Deprecations">Deprecations</a></li>
<li><a href="#Modules-and-Pragmata">Modules and Pragmata</a>
<ul>
<li><a href="#New-Modules-and-Pragmata">New Modules and Pragmata</a></li>
<li><a href="#Updated-Modules-and-Pragmata">Updated Modules and Pragmata</a></li>
<li><a href="#Removed-Modules-and-Pragmata">Removed Modules and Pragmata</a></li>
</ul>
</li>
<li><a href="#Documentation">Documentation</a>
<ul>
<li><a href="#New-Documentation">New Documentation</a></li>
<li><a href="#Changes-to-Existing-Documentation">Changes to Existing Documentation</a>
<ul>
<li><a href="#perlfunc">perlfunc</a></li>
<li><a href="#perllol">perllol</a></li>
<li><a href="#perlop">perlop</a></li>
<li><a href="#perlrun">perlrun</a></li>
<li><a href="#POSIX">POSIX</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#Diagnostics">Diagnostics</a>
<ul>
<li><a href="#New-Diagnostics">New Diagnostics</a></li>
<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="#New-Platforms">New Platforms</a></li>
<li><a href="#Discontinued-Platforms">Discontinued Platforms</a></li>
<li><a href="#Platform-Specific-Notes">Platform-Specific Notes</a>
<ul>
<li><a href="#Solaris">Solaris</a></li>
<li><a href="#Mac-OS-X">Mac OS X</a></li>
<li><a href="#Ubuntu-Linux">Ubuntu Linux</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="#Internal-Changes">Internal Changes</a></li>
<li><a href="#Bug-Fixes">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>perl5141delta - what is new for perl v5.14.1</p>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>This document describes differences between the 5.14.0 release and the 5.14.1 release.</p>
<p>If you are upgrading from an earlier release such as 5.12.0, first read <a href="/cperl/perl5140delta.html">perl5140delta</a>, which describes differences between 5.12.0 and 5.14.0.</p>
<h1 id="Core-Enhancements">Core Enhancements</h1>
<p>No changes since 5.14.0.</p>
<h1 id="Security">Security</h1>
<p>No changes since 5.14.0.</p>
<h1 id="Incompatible-Changes">Incompatible Changes</h1>
<p>There are no changes intentionally incompatible with 5.14.0. If any exist, they are bugs and reports are welcome.</p>
<h1 id="Deprecations">Deprecations</h1>
<p>There have been no deprecations since 5.14.0.</p>
<h1 id="Modules-and-Pragmata">Modules and Pragmata</h1>
<h2 id="New-Modules-and-Pragmata">New Modules and Pragmata</h2>
<p>None</p>
<h2 id="Updated-Modules-and-Pragmata">Updated Modules and Pragmata</h2>
<ul>
<li><p><a href="/cperl/lib/B/Deparse.html">B::Deparse</a> has been upgraded from version 1.03 to 1.04, to address two regressions in Perl 5.14.0:</p>
<p>Deparsing of the <code>glob</code> operator and its diamond (<code><></code>) form now works again. [perl #90898]</p>
<p>The presence of subroutines named <code>::::</code> or <code>::::::</code> no longer causes B::Deparse to hang.</p>
</li>
<li><p><a href="/cperl/lib/Pod/Perldoc.html">Pod::Perldoc</a> has been upgraded from version 3.15_03 to 3.15_04.</p>
<p>It corrects the search paths on VMS. [perl #90640]</p>
</li>
</ul>
<h2 id="Removed-Modules-and-Pragmata">Removed Modules and Pragmata</h2>
<p>None</p>
<h1 id="Documentation">Documentation</h1>
<h2 id="New-Documentation">New Documentation</h2>
<p>None</p>
<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><code>given</code>, <code>when</code> and <code>default</code> are now listed in <a href="/cperl/perlfunc.html">perlfunc</a>.</p>
</li>
<li><p>Documentation for <code>use</code> now includes a pointer to <i>if.pm</i>.</p>
</li>
</ul>
<h3 id="perllol"><a href="/cperl/perllol.html">perllol</a></h3>
<ul>
<li><p><a href="/cperl/perllol.html">perllol</a> has been expanded with examples using the new <code>push $scalar</code> syntax introduced in Perl 5.14.0.</p>
</li>
</ul>
<h3 id="perlop"><a href="/cperl/perlop.html">perlop</a></h3>
<ul>
<li><p>The explanation of bitwise operators has been expanded to explain how they work on Unicode strings.</p>
</li>
<li><p>The section on the triple-dot or yada-yada operator has been moved up, as it used to separate two closely related sections about the comma operator.</p>
</li>
<li><p>More examples for <code>m//g</code> have been added.</p>
</li>
<li><p>The <code><<\FOO</code> here-doc syntax has been documented.</p>
</li>
</ul>
<h3 id="perlrun"><a href="/cperl/perlrun.html">perlrun</a></h3>
<ul>
<li><p><a href="/cperl/perlrun.html">perlrun</a> has undergone a significant clean-up. Most notably, the <b>-0x...</b> form of the <b>-0</b> flag has been clarified, and the final section on environment variables has been corrected and expanded.</p>
</li>
</ul>
<h3 id="POSIX"><a href="/cperl/lib/POSIX.html">POSIX</a></h3>
<ul>
<li><p>The invocation documentation for <code>WIFEXITED</code>, <code>WEXITSTATUS</code>, <code>WIFSIGNALED</code>, <code>WTERMSIG</code>, <code>WIFSTOPPED</code>, and <code>WSTOPSIG</code> was corrected.</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="New-Diagnostics">New Diagnostics</h2>
<p>None</p>
<h2 id="Changes-to-Existing-Diagnostics">Changes to Existing Diagnostics</h2>
<p>None</p>
<h1 id="Utility-Changes">Utility Changes</h1>
<p>None</p>
<h1 id="Configuration-and-Compilation">Configuration and Compilation</h1>
<ul>
<li><p><i>regexp.h</i> has been modified for compatibility with GCC's <code>-Werror</code> option, as used by some projects that include perl's header files.</p>
</li>
</ul>
<h1 id="Testing">Testing</h1>
<ul>
<li><p>Some test failures in <i>dist/Locale-Maketext/t/09_compile.t</i> that could occur depending on the environment have been fixed. [perl #89896]</p>
</li>
<li><p>A watchdog timer for <i>t/re/re.t</i> was lengthened to accommodate SH-4 systems which were unable to complete the tests before the previous timer ran out.</p>
</li>
</ul>
<h1 id="Platform-Support">Platform Support</h1>
<h2 id="New-Platforms">New Platforms</h2>
<p>None</p>
<h2 id="Discontinued-Platforms">Discontinued Platforms</h2>
<p>None</p>
<h2 id="Platform-Specific-Notes">Platform-Specific Notes</h2>
<h3 id="Solaris">Solaris</h3>
<ul>
<li><p>Documentation listing the Solaris packages required to build Perl on Solaris 9 and Solaris 10 has been corrected.</p>
</li>
</ul>
<h3 id="Mac-OS-X">Mac OS X</h3>
<ul>
<li><p>The <i>lib/locale.t</i> test script has been updated to work on the upcoming Lion release.</p>
</li>
<li><p>Mac OS X specific compilation instructions have been clarified.</p>
</li>
</ul>
<h3 id="Ubuntu-Linux">Ubuntu Linux</h3>
<ul>
<li><p>The <a>ODBM_File</a> installation process has been updated with the new library paths on Ubuntu natty.</p>
</li>
</ul>
<h1 id="Internal-Changes">Internal Changes</h1>
<ul>
<li><p>The compiled representation of formats is now stored via the mg_ptr of their PERL_MAGIC_fm. Previously it was stored in the string buffer, beyond SvLEN(), the regular end of the string. SvCOMPILED() and SvCOMPILED_{on,off}() now exist solely for compatibility for XS code. The first is always 0, the other two now no-ops.</p>
</li>
</ul>
<h1 id="Bug-Fixes">Bug Fixes</h1>
<ul>
<li><p>A bug has been fixed that would cause a "Use of freed value in iteration" error if the next two hash elements that would be iterated over are deleted. [perl #85026]</p>
</li>
<li><p>Passing the same constant subroutine to both <code>index</code> and <code>formline</code> no longer causes one or the other to fail. [perl #89218]</p>
</li>
<li><p>5.14.0 introduced some memory leaks in regular expression character classes such as <code>[\w\s]</code>, which have now been fixed.</p>
</li>
<li><p>An edge case in regular expression matching could potentially loop. This happened only under <code>/i</code> in bracketed character classes that have characters with multi-character folds, and the target string to match against includes the first portion of the fold, followed by another character that has a multi-character fold that begins with the remaining portion of the fold, plus some more.</p>
<pre><code> "s\N{U+DF}" =~ /[\x{DF}foo]/i</code></pre>
<p>is one such case. <code>\xDF</code> folds to <code>"ss"</code>.</p>
</li>
<li><p>Several Unicode case-folding bugs have been fixed.</p>
</li>
<li><p>The new (in 5.14.0) regular expression modifier <code>/a</code> when repeated like <code>/aa</code> forbids the characters outside the ASCII range that match characters inside that range from matching under <code>/i</code>. This did not work under some circumstances, all involving alternation, such as:</p>
<pre><code> "\N{KELVIN SIGN}" =~ /k|foo/iaa;</code></pre>
<p>succeeded inappropriately. This is now fixed.</p>
</li>
<li><p>Fixed a case where it was possible that a freed buffer may have been read from when parsing a here document.</p>
</li>
</ul>
<h1 id="Acknowledgements">Acknowledgements</h1>
<p>Perl 5.14.1 represents approximately four weeks of development since Perl 5.14.0 and contains approximately 3500 lines of changes across 38 files from 17 authors.</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.14.1:</p>
<p>Bo Lindbergh, Claudio Ramirez, Craig A. Berry, David Leadbeater, Father Chrysostomos, Jesse Vincent, Jim Cromie, Justin Case, Karl Williamson, Leo Lapworth, Nicholas Clark, Nobuhiro Iwamatsu, smash, Tom Christiansen, Ton Hospel, Vladimir Timofeev, and Zsbán Ambrus.</p>
<h1 id="Reporting-Bugs">Reporting Bugs</h1>
<p>If you find what you think is a bug, you might check the articles recently posted to the comp.lang.perl.misc newsgroup and the perl bug database at http://rt.perl.org/perlbug/ . There may also be information at http://www.perl.org/ , 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 please send it to [email protected]. This points to a closed subscription unarchived mailing list, which includes all the core committers, who be able to help assess the impact of issues, figure out a resolution, and help co-ordinate the release of patches to mitigate or fix the problem across all platforms on which Perl is supported. Please only use this address for security issues in the Perl core, not for modules independently distributed on CPAN.</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>