Commit | Line | Data |
---|---|---|
44691e6f AB |
1 | =encoding utf8 |
2 | ||
3 | =head1 NAME | |
4 | ||
09f4604f SH |
5 | [ this is a template for a new perldelta file. Any text flagged as XXX needs |
6 | to be processed before release. ] | |
7 | ||
8 | perldelta - what is new for perl v5.19.5 | |
e128ab2c | 9 | |
4eabcf70 | 10 | =head1 DESCRIPTION |
6db9054f | 11 | |
09f4604f | 12 | This document describes differences between the 5.19.4 release and the 5.19.5 |
e08634c5 | 13 | release. |
6db9054f | 14 | |
09f4604f SH |
15 | If you are upgrading from an earlier release such as 5.19.3, first read |
16 | L<perl5194delta>, which describes differences between 5.19.3 and 5.19.4. | |
18ae6bbc | 17 | |
09f4604f | 18 | =head1 Notice |
18ae6bbc | 19 | |
09f4604f | 20 | XXX Any important notices here |
f2ab313d | 21 | |
09f4604f | 22 | =head1 Core Enhancements |
84d7ce3c | 23 | |
09f4604f SH |
24 | XXX New core language features go here. Summarize user-visible core language |
25 | enhancements. Particularly prominent performance optimisations could go | |
26 | here, but most should go in the L</Performance Enhancements> section. | |
f53b57fd | 27 | |
09f4604f | 28 | [ List each enhancement as a =head2 entry ] |
f53b57fd | 29 | |
a9c9e371 KW |
30 | =head2 Unicode 6.3 now supported |
31 | ||
32 | Perl now supports and is shipped with Unicode 6.3 (though Perl may be | |
73bdd74b SH |
33 | recompiled with any previous Unicode release as well). A detailed list of |
34 | Unicode 6.3 changes is at L<http://www.unicode.org/versions/Unicode6.3.0/>. | |
a9c9e371 | 35 | |
12ea29d9 RS |
36 | =head2 Experimental Postfix Dereferencing |
37 | ||
38 | When the C<postderef> feature is in effect, the following syntactical | |
39 | equivalencies are set up: | |
40 | ||
41 | $sref->$*; # same as ${ $sref } # interpolates | |
42 | $aref->@*; # same as @{ $aref } # interpolates | |
43 | $href->%*; # same as %{ $href } | |
44 | $cref->&*; # same as &{ $cref } | |
b9d083a6 | 45 | $gref->**; # same as *{ $gref } |
12ea29d9 RS |
46 | |
47 | $gref->*{ $slot }; # same as *{ $gref }{ $slot } | |
48 | ||
49 | $aref->@[ ... ]; # same as @$aref[ ... ] # interpolates | |
b9d083a6 | 50 | $href->@{ ... }; # same as @$href{ ... } # interpolates |
12ea29d9 RS |
51 | $aref->%[ ... ]; # same as %$aref[ ... ] |
52 | $href->%{ ... }; # same as %$href{ ... } | |
53 | ||
54 | Those marked as interpolating only interpolate if the associated | |
55 | C<postderef_qq> feature is also enabled. This feature is B<experimental> and | |
56 | will trigger C<experimental::postderef>-category warnings when used, unless | |
57 | they are suppressed. | |
58 | ||
59 | For more information, consult L<the Postfix Dereference Syntax section of | |
60 | perlref|perlref/Postfix Dereference Syntax>. | |
61 | ||
eedb00fa PM |
62 | =head2 C<sub>s now take a C<prototype> attribute |
63 | ||
1981f814 SH |
64 | When declaring or defining a C<sub>, the prototype can now be specified inside |
65 | of a C<prototype> attribute instead of in parens following the name. | |
eedb00fa | 66 | |
1981f814 SH |
67 | For example, C<sub foo($$){}> could be rewritten as |
68 | C<sub foo : prototype($$){}>. | |
eedb00fa | 69 | |
09f4604f | 70 | =head1 Security |
972690a1 | 71 | |
09f4604f SH |
72 | XXX Any security-related notices go here. In particular, any security |
73 | vulnerabilities closed should be noted here rather than in the | |
74 | L</Selected Bug Fixes> section. | |
972690a1 | 75 | |
09f4604f | 76 | [ List each security issue as a =head2 entry ] |
972690a1 | 77 | |
ba03bc34 | 78 | =head1 Incompatible Changes |
a3fb66a4 | 79 | |
09f4604f | 80 | XXX For a release on a stable branch, this section aspires to be: |
b29f65fc | 81 | |
09f4604f SH |
82 | There are no changes intentionally incompatible with 5.XXX.XXX |
83 | If any exist, they are bugs, and we request that you submit a | |
84 | report. See L</Reporting Bugs> below. | |
a3fb66a4 | 85 | |
09f4604f | 86 | [ List each incompatible change as a =head2 entry ] |
42bff0d9 | 87 | |
29b43da2 KW |
88 | =head2 Functions C<PerlIO_vsprintf> and C<PerlIO_sprintf> have been removed |
89 | ||
73bdd74b SH |
90 | These two functions, undocumented, unused in CPAN, and problematic have been |
91 | removed. | |
29b43da2 | 92 | |
09f4604f | 93 | =head1 Deprecations |
082a4c42 | 94 | |
09f4604f | 95 | XXX Any deprecated features, syntax, modules etc. should be listed here. |
082a4c42 | 96 | |
09f4604f | 97 | =head2 Module removals |
082a4c42 | 98 | |
09f4604f | 99 | XXX Remove this section if inapplicable. |
00c5962f | 100 | |
09f4604f SH |
101 | The following modules will be removed from the core distribution in a |
102 | future release, and will at that time need to be installed from CPAN. | |
103 | Distributions on CPAN which require these modules will need to list them as | |
104 | prerequisites. | |
00c5962f | 105 | |
09f4604f SH |
106 | The core versions of these modules will now issue C<"deprecated">-category |
107 | warnings to alert you to this fact. To silence these deprecation warnings, | |
108 | install the modules in question from CPAN. | |
3b6e1650 | 109 | |
09f4604f SH |
110 | Note that these are (with rare exceptions) fine modules that you are encouraged |
111 | to continue to use. Their disinclusion from core primarily hinges on their | |
112 | necessity to bootstrapping a fully functional, CPAN-capable Perl installation, | |
113 | not usually on concerns over their design. | |
00c5962f | 114 | |
09f4604f | 115 | =over |
8c24c1f7 | 116 | |
09f4604f SH |
117 | XXX Note that deprecated modules should be listed here even if they are listed |
118 | as an updated module in the L</Modules and Pragmata> section. | |
479090d3 | 119 | |
09f4604f | 120 | =back |
479090d3 | 121 | |
09f4604f | 122 | [ List each other deprecation as a =head2 entry ] |
479090d3 | 123 | |
09f4604f | 124 | =head1 Performance Enhancements |
8c24c1f7 | 125 | |
09f4604f SH |
126 | XXX Changes which enhance performance without changing behaviour go here. |
127 | There may well be none in a stable release. | |
8c24c1f7 | 128 | |
09f4604f | 129 | [ List each enhancement as a =item entry ] |
d5dcec3a | 130 | |
6ffbec2c Z |
131 | =over 4 |
132 | ||
133 | =item * | |
134 | ||
73bdd74b SH |
135 | Perl has an optimizer for regular expression patterns. It analyzes the pattern |
136 | to find things such as the minimum length a string has to be to match, etc. It | |
137 | now better handles code points that are above the Latin1 range. | |
d5dcec3a | 138 | |
6ffbec2c Z |
139 | =back |
140 | ||
09f4604f | 141 | =head1 Modules and Pragmata |
5565c738 | 142 | |
09f4604f SH |
143 | XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/> |
144 | go here. If Module::CoreList is updated, generate an initial draft of the | |
145 | following sections using F<Porting/corelist-perldelta.pl>, which prints stub | |
146 | entries to STDOUT. Results can be pasted in place of the '=head2' entries | |
147 | below. A paragraph summary for important changes should then be added by hand. | |
148 | In an ideal world, dual-life modules would have a F<Changes> file that could be | |
149 | cribbed. | |
5565c738 | 150 | |
09f4604f | 151 | [ Within each section, list entries as a =item entry ] |
5565c738 | 152 | |
09f4604f | 153 | =head2 New Modules and Pragmata |
8c24c1f7 | 154 | |
09f4604f | 155 | =over 4 |
8c24c1f7 SH |
156 | |
157 | =item * | |
158 | ||
09f4604f | 159 | XXX |
99366d6d | 160 | |
583aa5c2 RS |
161 | =back |
162 | ||
09f4604f | 163 | =head2 Updated Modules and Pragmata |
1944fb52 SH |
164 | |
165 | =over 4 | |
166 | ||
167 | =item * | |
168 | ||
1981f814 SH |
169 | L<attributes> has been upgraded from version 0.21 to 0.22. |
170 | ||
171 | Support has been added for the C<prototype> attribute. | |
172 | ||
173 | =item * | |
174 | ||
ff4ad1c0 SH |
175 | L<autodie> has been upgraded from version 2.21 to 2.22. |
176 | ||
177 | No changes have been made to the installed code other than the version bump to | |
178 | keep in sync with the latest CPAN release. | |
179 | ||
180 | =item * | |
181 | ||
f90332ac | 182 | L<CPAN::Meta> has been upgraded from version 2.132620 to 2.132830. |
229563a9 SH |
183 | |
184 | L<CPAN::Meta::Prereqs> now has a C<merged_requirements> method for combining | |
185 | requirements across multiple phases and types, and an invalid 'meta-spec' is no | |
186 | longer a fatal error. | |
187 | ||
188 | =item * | |
189 | ||
f90332ac | 190 | L<CPAN::Meta::Requirements> has been upgraded from version 2.123 to 2.125. |
82107948 | 191 | |
f90332ac SH |
192 | No changes have been made to the installed code other than the version bump to |
193 | keep in sync with the latest CPAN release. | |
194 | ||
195 | =item * | |
196 | ||
197 | L<CPAN::Meta::YAML> has been upgraded from version 0.008 to 0.010. | |
198 | ||
199 | No material changes have been made to the installed code other than the version | |
200 | bump to keep in sync with the latest CPAN release. | |
201 | ||
202 | =item * | |
203 | ||
204 | L<Cwd> has been upgraded from version 3.44 to 3.45. | |
205 | ||
206 | An obsolete #define has been removed from the XS code. | |
207 | ||
208 | =item * | |
209 | ||
210 | L<ExtUtils::Install> has been upgraded from version 1.60 to 1.61. | |
211 | ||
212 | Some POD formatting errors in the documentation have been corrected. | |
213 | ||
214 | =item * | |
215 | ||
53d48b8b | 216 | L<ExtUtils::MakeMaker> has been upgraded from version 6.76 to 6.80. |
f90332ac SH |
217 | |
218 | Numerous updates and bug fixes are incorporated. See the F<Changes> file for | |
219 | full details. | |
220 | ||
221 | =item * | |
222 | ||
223 | L<feature> has been upgraded from version 1.33 to 1.34. | |
224 | ||
225 | The new features C<postderef> and C<postderef_qq> have been added. | |
226 | ||
227 | =item * | |
228 | ||
229 | L<File::Fetch> has been upgraded from version 0.42 to 0.44. | |
230 | ||
231 | No changes have been made to the installed code other than the version bump to | |
232 | keep in sync with the latest CPAN release. | |
233 | ||
234 | =item * | |
235 | ||
236 | L<File::Glob> has been upgraded from version 1.21 to 1.22. | |
237 | ||
238 | Since Perl 5.16, code that used C<glob> inside a thread had been | |
239 | unintentionally sharing state between threads. This has now been fixed. [perl | |
240 | #119897/#117823] | |
241 | ||
242 | =item * | |
243 | ||
244 | L<File::Temp> has been upgraded from version 0.2301 to 0.2304. | |
245 | ||
246 | Required versions of other modules used are now listed more explicitly, L<base> | |
247 | is now used instead of L<parent>, and L<Exporter> is no longer inherited from. | |
248 | ||
249 | =item * | |
250 | ||
251 | L<Getopt::Long> has been upgraded from version 2.41 to 2.42. | |
252 | ||
253 | The floating point specifier C<name=f> no longer erroneously accepts values | |
254 | like 1.2.3. [cpan #88707] | |
255 | ||
256 | =item * | |
257 | ||
258 | L<HTTP::Tiny> has been upgraded from version 0.035 to 0.036. | |
259 | ||
260 | No changes have been made to the installed code other than the version bump to | |
261 | keep in sync with the latest CPAN release. | |
82107948 SH |
262 | |
263 | =item * | |
264 | ||
7492c6c5 | 265 | L<JSON::PP> has been upgraded from version 2.27202 to 2.27203. |
be08498a | 266 | |
7492c6c5 | 267 | A return/or precedence issue in C<_incr_parse> has been fixed. |
be08498a CBW |
268 | |
269 | =item * | |
270 | ||
98eca5fa | 271 | L<List::Util> has been upgraded from version 1.32 to 1.35. |
52102bb4 | 272 | |
98eca5fa SH |
273 | The list functions C<any>, C<all>, C<none>, C<notall> and C<product> have been |
274 | added, and C<reduce> and C<first> are now implemented even in the absence of | |
275 | MULTICALL. | |
52102bb4 SH |
276 | |
277 | =item * | |
278 | ||
fa5fbb39 SH |
279 | L<Module::CoreList> has been upgraded from version 2.99 to 3.00. |
280 | ||
f90332ac SH |
281 | The list of Perl versions covered has been updated, %delta is now exported, and |
282 | a bug in C<is_core> whereby it wrongly assumed a linear list of releases has | |
283 | been fixed. | |
1944fb52 | 284 | |
b7c730ff SH |
285 | =item * |
286 | ||
d477c82b SH |
287 | L<Module::Metadata> has been upgraded from version 1.000018 to 1.000019. |
288 | ||
289 | Warnings are now disabled during version evaluation. | |
290 | ||
291 | =item * | |
292 | ||
f90332ac SH |
293 | L<Parse::CPAN::Meta> has been upgraded from version 1.4407 to 1.4409. |
294 | ||
295 | No changes have been made to the installed code other than the version bump to | |
296 | keep in sync with the latest CPAN release. | |
297 | ||
298 | =item * | |
299 | ||
300 | L<Perl::OSType> has been upgraded from version 1.005 to 1.006. | |
301 | ||
302 | No changes have been made to the installed code other than the version bump to | |
303 | keep in sync with the latest CPAN release. | |
304 | ||
305 | =item * | |
306 | ||
2e0c8515 SH |
307 | L<PerlIO::scalar> has been upgraded from version 0.16 to 0.17. |
308 | ||
309 | An infinite loop when reading from a filehandle opened from a reference has | |
310 | been fixed by first stringifying the reference. [perl #119529] | |
311 | ||
312 | =item * | |
313 | ||
b52cde68 | 314 | The podlators modules have been upgraded from version 2.5.1 to 2.5.3. |
b7c730ff SH |
315 | |
316 | Numerous updates and bug fixes are incorporated. See the F<Changes> file in | |
317 | the CPAN distribution for full details. | |
318 | ||
befb5359 SH |
319 | =item * |
320 | ||
321 | L<Test::Harness> has been upgraded from version 3.28 to 3.29. | |
322 | ||
323 | All modules now use C<our> rather than C<use vars>, have C<use warnings> | |
324 | enabled and C<use parent> instead of @ISA. | |
325 | ||
f90332ac SH |
326 | =item * |
327 | ||
411e93ce SH |
328 | L<Test::Simple> has been upgraded from version 0.98 to 0.99. |
329 | ||
330 | Numerous updates and bug fixes are incorporated. See the F<Changes> file for | |
331 | full details. | |
332 | ||
333 | =item * | |
334 | ||
82759c81 | 335 | L<threads> has been upgraded from version 1.87 to 1.89. |
f90332ac SH |
336 | |
337 | The documentation of C<alarm> and C<_handle> has been updated. | |
338 | ||
339 | =item * | |
340 | ||
341 | L<Unicode::Normalize> has been upgraded from version 1.16 to 1.17. | |
342 | ||
343 | The module now C<die>s if it cannot get Unicode code points using C<unpack>. | |
344 | (There is already a similar C<die> if Unicode code points cannot be stringified | |
345 | using C<pack>.) | |
346 | ||
347 | =item * | |
348 | ||
349 | L<warnings> has been upgraded from version 1.19 to 1.20. | |
350 | ||
351 | The new warnings category C<experimental::postderef> has been added. | |
352 | ||
2d8e8368 SH |
353 | =back |
354 | ||
09f4604f | 355 | =head2 Removed Modules and Pragmata |
a71a93a7 | 356 | |
2d8e8368 | 357 | =over 4 |
a71a93a7 TC |
358 | |
359 | =item * | |
360 | ||
09f4604f | 361 | XXX |
a71a93a7 | 362 | |
1944fb52 SH |
363 | =back |
364 | ||
09f4604f | 365 | =head1 Documentation |
1944fb52 | 366 | |
09f4604f SH |
367 | XXX Changes to files in F<pod/> go here. Consider grouping entries by |
368 | file and be sure to link to the appropriate page, e.g. L<perlfunc>. | |
1944fb52 | 369 | |
09f4604f | 370 | =head2 New Documentation |
1944fb52 | 371 | |
09f4604f | 372 | XXX Changes which create B<new> files in F<pod/> go here. |
195e3ea0 | 373 | |
09f4604f | 374 | =head3 L<XXX> |
a3fb66a4 | 375 | |
09f4604f | 376 | XXX Description of the purpose of the new file here |
a3fb66a4 | 377 | |
09f4604f | 378 | =head2 Changes to Existing Documentation |
a3fb66a4 | 379 | |
09f4604f SH |
380 | XXX Changes which significantly change existing files in F<pod/> go here. |
381 | However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics> | |
382 | section. | |
a3fb66a4 | 383 | |
7c90aec3 SH |
384 | =head3 L<perlref> |
385 | ||
386 | =over 4 | |
387 | ||
388 | =item * | |
389 | ||
390 | Documentation of the new postfix dereference syntax has been added. | |
391 | ||
392 | =back | |
393 | ||
394 | =head3 L<perlreguts> | |
395 | ||
396 | =over 4 | |
397 | ||
398 | =item * | |
399 | ||
400 | The documentation has been updated in the light of recent changes to | |
401 | F<regcomp.c>. | |
402 | ||
403 | =back | |
404 | ||
405 | =head3 L<perlvar> | |
2d8e8368 SH |
406 | |
407 | =over 4 | |
408 | ||
409 | =item * | |
410 | ||
7c90aec3 SH |
411 | Three L<English> variable names which have long been documented but do not |
412 | actually exist have been removed from the documentation. | |
2d8e8368 SH |
413 | |
414 | =back | |
415 | ||
c0ca71c9 AP |
416 | =head1 Diagnostics |
417 | ||
418 | The following additions or changes have been made to diagnostic output, | |
419 | including warnings and fatal error messages. For the complete list of | |
420 | diagnostic messages, see L<perldiag>. | |
421 | ||
09f4604f SH |
422 | XXX New or changed warnings emitted by the core's C<C> code go here. Also |
423 | include any changes in L<perldiag> that reconcile it to the C<C> code. | |
424 | ||
c0ca71c9 AP |
425 | =head2 New Diagnostics |
426 | ||
09f4604f SH |
427 | XXX Newly added diagnostic messages go under here, separated into New Errors |
428 | and New Warnings | |
429 | ||
12dcbffb | 430 | =head3 New Errors |
583aa5c2 | 431 | |
38663f11 | 432 | =over 4 |
583aa5c2 | 433 | |
b8a02ff1 | 434 | =item * |
583aa5c2 | 435 | |
09f4604f | 436 | XXX L<message|perldiag/"message"> |
4a0af295 | 437 | |
b8a02ff1 | 438 | =back |
583aa5c2 | 439 | |
12dcbffb | 440 | =head3 New Warnings |
96d496e4 | 441 | |
38663f11 | 442 | =over 4 |
b8a02ff1 DG |
443 | |
444 | =item * | |
445 | ||
1981f814 SH |
446 | L<Attribute prototype(%s) discards earlier prototype attribute in same sub|perldiag/"Attribute prototype(%s) discards earlier prototype attribute in same sub"> |
447 | ||
448 | (W misc) A sub was declared as sub foo : prototype(A) : prototype(B) {}, for | |
449 | example. Since each sub can only have one prototype, the earlier | |
450 | declaration(s) are discarded while the last one is applied. | |
451 | ||
452 | =item * | |
453 | ||
2b6950bd SH |
454 | L<Postfix dereference is experimental|perldiag/"Postfix dereference is experimental"> |
455 | ||
456 | (S experimental::postderef) This warning is emitted if you use the experimental | |
457 | postfix dereference syntax. Simply suppress the warning if you want to use the | |
458 | feature, but know that in doing so you are taking the risk of using an | |
459 | experimental feature which may change or be removed in a future Perl version: | |
460 | ||
461 | no warnings "experimental::postderef"; | |
462 | use feature "postderef", "postderef_qq"; | |
463 | $ref->$*; | |
464 | $aref->@*; | |
465 | $aref->@[@indices]; | |
466 | ... etc ... | |
dcc95d06 | 467 | |
1981f814 SH |
468 | =item * |
469 | ||
470 | L<Prototype '%s' overridden by attribute 'prototype(%s)' in %s|perldiag/"Prototype '%s' overridden by attribute 'prototype(%s)' in %s"> | |
471 | ||
472 | (W prototype) A prototype was declared in both the parentheses after the sub | |
473 | name and via the prototype attribute. The prototype in parentheses is useless, | |
474 | since it will be replaced by the prototype from the attribute before it's ever | |
475 | used. | |
476 | ||
12dcbffb | 477 | =back |
1310e590 | 478 | |
ba03bc34 SH |
479 | =head2 Changes to Existing Diagnostics |
480 | ||
09f4604f | 481 | XXX Changes (i.e. rewording) of diagnostic messages go here |
c1d900c3 | 482 | |
09f4604f | 483 | =over 4 |
e38fc308 | 484 | |
4a0af295 SH |
485 | =item * |
486 | ||
09f4604f | 487 | XXX Describe change here |
4a0af295 | 488 | |
ba03bc34 | 489 | =back |
a34da6c4 | 490 | |
ba03bc34 | 491 | =head1 Utility Changes |
a34da6c4 | 492 | |
09f4604f SH |
493 | XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go here. |
494 | Most of these are built within the directories F<utils> and F<x2p>. | |
7f1d4316 | 495 | |
09f4604f SH |
496 | [ List utility changes as a =head3 entry for each utility and =item |
497 | entries for each change | |
498 | Use L<XXX> with program names to get proper documentation linking. ] | |
ef947715 | 499 | |
254a1e67 | 500 | =head3 L<a2p> |
ef947715 | 501 | |
12dcbffb | 502 | =over 4 |
21c01741 | 503 | |
467582e8 FC |
504 | =item * |
505 | ||
254a1e67 SH |
506 | A possible crash from an off-by-one error when trying to access before the |
507 | beginning of a buffer has been fixed. [perl #120244] | |
467582e8 | 508 | |
ba03bc34 | 509 | =back |
64da853d | 510 | |
09f4604f | 511 | =head1 Configuration and Compilation |
8c24c1f7 | 512 | |
09f4604f SH |
513 | XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools |
514 | go here. Any other changes to the Perl build process should be listed here. | |
515 | However, any platform-specific changes should be listed in the | |
516 | L</Platform Support> section, instead. | |
8c24c1f7 | 517 | |
09f4604f | 518 | [ List changes as a =item entry ]. |
215588ba | 519 | |
09f4604f | 520 | =over 4 |
b895ac6f SH |
521 | |
522 | =item * | |
523 | ||
09f4604f | 524 | XXX |
8c24c1f7 | 525 | |
09f4604f | 526 | =back |
215588ba | 527 | |
09f4604f | 528 | =head1 Testing |
215588ba | 529 | |
09f4604f SH |
530 | XXX Any significant changes to the testing of a freshly built perl should be |
531 | listed here. Changes which create B<new> files in F<t/> go here as do any | |
532 | large changes to the testing harness (e.g. when parallel testing was added). | |
533 | Changes to existing files in F<t/> aren't worth summarizing, although the bugs | |
534 | that they represent may be covered elsewhere. | |
b895ac6f | 535 | |
09f4604f | 536 | [ List each test improvement as a =item entry ] |
b895ac6f | 537 | |
09f4604f | 538 | =over 4 |
8c24c1f7 SH |
539 | |
540 | =item * | |
541 | ||
c98e515e SH |
542 | The new postfix dereference syntax is tested by a new test script, |
543 | F<t/op/postfixderef.t>. | |
eaed284b | 544 | |
ba03bc34 | 545 | =back |
0335212c | 546 | |
ba03bc34 | 547 | =head1 Platform Support |
0335212c | 548 | |
09f4604f | 549 | XXX Any changes to platform support should be listed in the sections below. |
019705bc | 550 | |
09f4604f SH |
551 | [ Within the sections, list each platform as a =item entry with specific |
552 | changes as paragraphs below it. ] | |
553 | ||
554 | =head2 New Platforms | |
25921d77 | 555 | |
09f4604f SH |
556 | XXX List any platforms that this version of perl compiles on, that previous |
557 | versions did not. These will either be enabled by new files in the F<hints/> | |
558 | directories, or new subdirectories and F<README> files at the top level of the | |
559 | source tree. | |
84d7ce3c | 560 | |
09f4604f | 561 | =over 4 |
84d7ce3c | 562 | |
09f4604f | 563 | =item XXX-some-platform |
25921d77 | 564 | |
09f4604f | 565 | XXX |
28ea507e | 566 | |
ba03bc34 | 567 | =back |
28ea507e | 568 | |
ba03bc34 | 569 | =head2 Discontinued Platforms |
28ea507e | 570 | |
09f4604f | 571 | XXX List any platforms that this version of perl no longer compiles on. |
7b0e9f13 | 572 | |
ba03bc34 | 573 | =over 4 |
074d6753 | 574 | |
09f4604f | 575 | =item XXX-some-platform |
074d6753 | 576 | |
09f4604f | 577 | XXX |
4e5b563d | 578 | |
ba03bc34 | 579 | =back |
4e5b563d | 580 | |
ba03bc34 | 581 | =head2 Platform-Specific Notes |
ee818f56 | 582 | |
09f4604f SH |
583 | XXX List any changes for specific platforms. This could include configuration |
584 | and compilation changes or changes in portability/compatibility. However, | |
585 | changes within modules for platforms should generally be listed in the | |
586 | L</Modules and Pragmata> section. | |
ff3b1402 | 587 | |
09f4604f | 588 | =over 4 |
efcbb8b2 | 589 | |
7492c6c5 | 590 | =item Windows |
846aaad8 | 591 | |
7492c6c5 SH |
592 | The Windows MinGW/gcc build was broken in Perl 5.19.4 for some recent versions |
593 | of gcc-4.8, including those from http://mingw-w64.sourceforge.net/ . This has | |
594 | now been fixed. [perl #120236] | |
846aaad8 | 595 | |
ba03bc34 | 596 | =back |
efcbb8b2 | 597 | |
ba03bc34 | 598 | =head1 Internal Changes |
36813eeb | 599 | |
09f4604f SH |
600 | XXX Changes which affect the interface available to C<XS> code go here. Other |
601 | significant internal changes for future core maintainers should be noted as | |
602 | well. | |
6760cac5 | 603 | |
09f4604f | 604 | [ List each change as a =item entry ] |
671f9ff7 | 605 | |
09f4604f | 606 | =over 4 |
6a67a797 | 607 | |
972690a1 KW |
608 | =item * |
609 | ||
09f4604f | 610 | XXX |
972690a1 | 611 | |
ba03bc34 | 612 | =back |
671f9ff7 | 613 | |
ba03bc34 | 614 | =head1 Selected Bug Fixes |
912a9a8f | 615 | |
09f4604f SH |
616 | XXX Important bug fixes in the core language are summarized here. Bug fixes in |
617 | files in F<ext/> and F<lib/> are best summarized in L</Modules and Pragmata>. | |
85037c5c | 618 | |
09f4604f | 619 | [ List each fix as a =item entry ] |
1261f9a2 | 620 | |
09f4604f | 621 | =over 4 |
1144b44d FC |
622 | |
623 | =item * | |
624 | ||
04380912 SH |
625 | C<last> no longer returns values that the same statement has accumulated so |
626 | far, fixing amongst other things the long-standing bug that C<push @a, last> | |
627 | would try to return the @a, copying it like a scalar in the process and | |
628 | resulting in the error, "Bizarre copy of ARRAY in last." [perl #3112] | |
629 | ||
630 | =item * | |
631 | ||
632 | An optimization in Perl 5.18 made incorrect assumptions causing a bad | |
633 | interaction with the L<Devel::CallParser> CPAN module. This was partially | |
634 | fixed in Perl 5.19.4, but the fix was not sufficient and another fault has now | |
635 | been corrected. | |
82d5eae5 | 636 | |
508c1ff6 TC |
637 | =item * |
638 | ||
7492c6c5 | 639 | In some cases, closing file handles opened to pipe to or from a process, which |
508c1ff6 TC |
640 | had been duplicated into a standard handle, would call perl's internal waitpid |
641 | wrapper with a pid of zero. With the fix for [perl #85228] this zero pid was | |
7492c6c5 | 642 | passed to C<waitpid>, possibly blocking the process. This wait for process |
508c1ff6 TC |
643 | zero no longer occurs. [perl #119893] |
644 | ||
7492c6c5 SH |
645 | =item * |
646 | ||
647 | The code that parses regex backrefs (or ambiguous backref/octals) such as \123 | |
648 | did a simple atoi(), which could wrap round to negative values on long digit | |
254a1e67 SH |
649 | strings and cause segmentation faults. This has now been fixed. [perl |
650 | #119505] | |
651 | ||
652 | =item * | |
653 | ||
654 | C<select> used to ignore magic on the fourth (timeout) argument, leading to | |
655 | effects such as C<select> blocking indefinitely rather than the expected sleep | |
656 | time. This has now been fixed. [perl #120102] | |
657 | ||
658 | =item * | |
659 | ||
660 | The class name in C<for my class $foo> is now parsed correctly. In the case of | |
661 | the second character of the class name being followed by a digit (e.g. 'a1b') | |
662 | this used to give the error "Missing $ on loop variable". [perl #120112] | |
7492c6c5 | 663 | |
09f4604f | 664 | =back |
cfbe45f9 | 665 | |
09f4604f | 666 | =head1 Known Problems |
853f2d20 | 667 | |
09f4604f SH |
668 | XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any |
669 | tests that had to be C<TODO>ed for the release would be noted here. Unfixed | |
670 | platform specific bugs also go here. | |
853f2d20 | 671 | |
09f4604f | 672 | [ List each fix as a =item entry ] |
84fd7372 | 673 | |
09f4604f | 674 | =over 4 |
84fd7372 | 675 | |
84d7ce3c SH |
676 | =item * |
677 | ||
09f4604f | 678 | XXX |
84d7ce3c | 679 | |
09f4604f | 680 | =back |
176f22e8 | 681 | |
09f4604f | 682 | =head1 Obituary |
176f22e8 | 683 | |
09f4604f SH |
684 | XXX If any significant core contributor has died, we've added a short obituary |
685 | here. | |
18e2e6cd | 686 | |
583aa5c2 | 687 | =head1 Acknowledgements |
a75569c0 | 688 | |
09f4604f SH |
689 | XXX Generate this with: |
690 | ||
691 | perl Porting/acknowledgements.pl v5.19.4..HEAD | |
f5b73711 | 692 | |
44691e6f AB |
693 | =head1 Reporting Bugs |
694 | ||
e08634c5 SH |
695 | If you find what you think is a bug, you might check the articles recently |
696 | posted to the comp.lang.perl.misc newsgroup and the perl bug database at | |
697 | http://rt.perl.org/perlbug/ . There may also be information at | |
698 | http://www.perl.org/ , the Perl Home Page. | |
44691e6f | 699 | |
e08634c5 SH |
700 | If you believe you have an unreported bug, please run the L<perlbug> program |
701 | included with your release. Be sure to trim your bug down to a tiny but | |
702 | sufficient test case. Your bug report, along with the output of C<perl -V>, | |
703 | will be sent off to perlbug@perl.org to be analysed by the Perl porting team. | |
44691e6f AB |
704 | |
705 | If the bug you are reporting has security implications, which make it | |
e08634c5 SH |
706 | inappropriate to send to a publicly archived mailing list, then please send it |
707 | to perl5-security-report@perl.org. This points to a closed subscription | |
708 | unarchived mailing list, which includes all the core committers, who will be | |
709 | able to help assess the impact of issues, figure out a resolution, and help | |
f9001595 | 710 | co-ordinate the release of patches to mitigate or fix the problem across all |
e08634c5 SH |
711 | platforms on which Perl is supported. Please only use this address for |
712 | security issues in the Perl core, not for modules independently distributed on | |
713 | CPAN. | |
44691e6f AB |
714 | |
715 | =head1 SEE ALSO | |
716 | ||
e08634c5 SH |
717 | The F<Changes> file for an explanation of how to view exhaustive details on |
718 | what changed. | |
44691e6f AB |
719 | |
720 | The F<INSTALL> file for how to build Perl. | |
721 | ||
722 | The F<README> file for general stuff. | |
723 | ||
724 | The F<Artistic> and F<Copying> files for copyright information. | |
725 | ||
726 | =cut |