Commit | Line | Data |
---|---|---|
44691e6f AB |
1 | =encoding utf8 |
2 | ||
249950d7 | 3 | =for comment |
c0f37554 | 4 | This has been completed up to 0aae26c14, except for: |
10c62b23 | 5 | 803e389 rurban CYG17 utf8 paths |
ff4ff6f3 | 6 | d9298c1 rurban mymalloc isn't thread safe |
249950d7 | 7 | |
44691e6f AB |
8 | =head1 NAME |
9 | ||
c1e74734 CBW |
10 | [ this is a template for a new perldelta file. Any text flagged as |
11 | XXX needs to be processed before release. ] | |
ad32999b | 12 | |
c1e74734 | 13 | perldelta - what is new for perl v5.15.8 |
88c5c971 | 14 | |
c1e74734 | 15 | =head1 DESCRIPTION |
8f12b018 | 16 | |
c1e74734 CBW |
17 | This document describes differences between the 5.15.7 release and |
18 | the 5.15.8 release. | |
8f12b018 | 19 | |
c1e74734 CBW |
20 | If you are upgrading from an earlier release such as 5.15.6, first read |
21 | L<perl5157delta>, which describes differences between 5.15.6 and | |
22 | 5.15.7. | |
26afcec5 | 23 | |
c1e74734 | 24 | =head1 Notice |
8f12b018 | 25 | |
c1e74734 | 26 | XXX Any important notices here |
d7fbd56d | 27 | |
c1e74734 | 28 | =head1 Core Enhancements |
d7fbd56d | 29 | |
c1e74734 CBW |
30 | XXX New core language features go here. Summarise user-visible core language |
31 | enhancements. Particularly prominent performance optimisations could go | |
32 | here, but most should go in the L</Performance Enhancements> section. | |
d7fbd56d | 33 | |
c1e74734 | 34 | [ List each enhancement as a =head2 entry ] |
711a3903 | 35 | |
66cbab2c KW |
36 | =head2 Improved ability to mix locales and Unicode, including UTF-8 locales |
37 | ||
38 | An optional parameter has been added to C<use locale> | |
39 | ||
40 | use locale ':not_characters'; | |
41 | ||
42 | which tells Perl to use all but the C<LC_CTYPE> and C<LC_COLLATE> | |
43 | portions of the current locale. Instead, the character set is assumed | |
44 | to be Unicode. This allows locales and Unicode to be seamlessly mixed, | |
45 | including the increasingly frequent UTF-8 locales. When using this | |
46 | hybrid form of locales, the C<:locale> layer to the L<open> pragma can | |
47 | be used to interface with the file system, and there are CPAN modules | |
48 | available for ARGV and environment variable conversions. | |
49 | ||
50 | Full details are in L<perllocale>. | |
51 | ||
628253b8 BF |
52 | =head2 New function C<fc> and corresponding escape sequence C<\F> for Unicode foldcase |
53 | ||
54 | Unicode foldcase is an extension to lowercase that gives better results | |
55 | when comparing two strings case-insensitively. It has long been used | |
56 | internally in regular expression C</i> matching. Now it is available | |
57 | explicitly through the new C<fc> function call (enabled by | |
58 | S<C<"use feature 'fc'">>, or C<use v5.16>, or explicitly callable via | |
249950d7 | 59 | C<CORE::fc>) or through the new C<\F> sequence in double-quotish |
628253b8 BF |
60 | strings. |
61 | ||
62 | Full details are in L<perlfunc/fc>. | |
63 | ||
10c62b23 FC |
64 | =head2 C<_> in subroutine prototypes |
65 | ||
66 | The C<_> character in subroutine prototypes is now allowed before C<@> or | |
67 | C<%>. | |
68 | ||
7620cb10 KW |
69 | =head1 Supports (I<almost>) Unicode 6.1 |
70 | ||
71 | Besides the addition of whole new scripts, and new characters in | |
72 | existing scripts, this new version of Unicode, as always, makes some | |
73 | changes to existing characters. One change that may trip up some | |
74 | applications is that the General Category of two characters in the | |
75 | Latin-1 range, PILCROW SIGN and SECTION SIGN, has been changed from | |
76 | Other_Symbol to Other_Punctuation. The same change has been made for | |
77 | a character in each of Tibetan, Ethiopic, and Aegean. | |
78 | The code points U+3248..U+324F (CIRCLED NUMBER TEN ON BLACK SQUARE | |
79 | through CIRCLED NUMBER EIGHTY ON BLACK SQUARE) have had their General | |
80 | Category changed from Other_Symbol to Other_Numeric. The Line Break | |
81 | property has changes for Hebrew and Japanese; and as a consequence of | |
82 | other changes in 6.1, the Perl regular expression construct C<\X> now | |
83 | works differently for some characters in Thai and Lao. | |
84 | ||
85 | New aliases (synonyms) have been defined for many property values; | |
86 | these, along with the previously existing ones, are all cross indexed in | |
87 | L<perluniprops>. | |
88 | ||
89 | The return value of C<charnames::viacode> is affected by other changes. | |
90 | One of these is that the preferred name (which is what C<viacode> | |
91 | returns) for the character at U+2118 has been changed from SCRIPT CAPITAL P | |
92 | to WEIERSTRASS ELLIPTIC FUNCTION. But most of these changes are the | |
93 | fallout of the mistake Unicode 6.0 made in naming a character used in | |
94 | Japanese cell phones to be "BELL", which conflicts with the long | |
95 | standing industry use of (and Unicode's recommendation to use) that name | |
96 | to mean the ASCII control character at U+0007. As a result, that name | |
97 | has been deprecated in Perl since v5.14; and any use of it will raise a | |
98 | warning message (unless turned off). The name "ALERT" is now the | |
99 | preferred name for this code point, with "BEL" being an acceptable short | |
100 | form. The name for the new cell phone character, at code point U+1F514, | |
101 | remains undefined in this version of Perl (hence we don't quite | |
102 | implement all of Unicode 6.1), but starting in v5.18, BELL will mean | |
103 | this character, and not U+0007. | |
104 | ||
105 | Unicode has taken steps to make sure that this sort of mistake does not | |
106 | happen again. The Standard now includes all the generally accepted | |
107 | names and abbreviations for control characters, whereas previously it | |
108 | didn't. This means that all the names that Perl had previously | |
109 | deprecated (except BELL) are no longer deprecated, such as FILE | |
110 | SEPARATOR. Also, the names for four rarely used characters are subtly | |
111 | different (a hyphen instead of a space) than before: | |
112 | ||
113 | Code point Old Name New Name | |
114 | U+008E SINGLE-SHIFT 2 SINGLE-SHIFT-2 | |
115 | U+008F SINGLE-SHIFT 3 SINGLE-SHIFT-3 | |
116 | U+0091 PRIVATE USE 1 PRIVATE USE-1 | |
117 | U+0092 PRIVATE USE 2 PRIVATE USE-2 | |
118 | ||
119 | Perl will accept either name as input, but C<charnames::viacode> now | |
120 | returns the new name. | |
121 | ||
122 | Additional name abbreviations are accepted: | |
123 | SP for SPACE; | |
124 | TAB for CHARACTER TABULATION; | |
125 | NEW LINE, END OF LINE, NL, and EOL for LINE FEED; | |
126 | LOCKING-SHIFT ONE for SHIFT OUT; | |
127 | LOCKING-SHIFT ZERO for SHIFT IN; | |
128 | and ZWNBSP for ZERO WIDTH NO-BREAK SPACE. | |
129 | ||
130 | More details on this version of Unicode are provided in | |
131 | L<http://www.unicode.org/versions/Unicode6.1.0/>. | |
132 | ||
c1e74734 | 133 | =head1 Security |
711a3903 | 134 | |
c1e74734 CBW |
135 | XXX Any security-related notices go here. In particular, any security |
136 | vulnerabilities closed should be noted here rather than in the | |
137 | L</Selected Bug Fixes> section. | |
711a3903 | 138 | |
c1e74734 | 139 | [ List each security issue as a =head2 entry ] |
6ba817f3 | 140 | |
c1e74734 | 141 | =head1 Incompatible Changes |
6ba817f3 | 142 | |
c1e74734 | 143 | XXX For a release on a stable branch, this section aspires to be: |
6b339779 | 144 | |
c1e74734 CBW |
145 | There are no changes intentionally incompatible with 5.XXX.XXX |
146 | If any exist, they are bugs, and we request that you submit a | |
147 | report. See L</Reporting Bugs> below. | |
6b339779 | 148 | |
c1e74734 | 149 | [ List each incompatible change as a =head2 entry ] |
b240fc0f | 150 | |
249950d7 FC |
151 | =head2 Special blocks called in void context |
152 | ||
153 | Special blocks (C<BEGIN>, C<CHECK>, C<INIT>, C<UNITCHECK>, C<END>) are now | |
154 | called in void context. This avoids wasteful copying of the result of the | |
155 | last statement [perl #108794]. | |
156 | ||
eff8c8ec FC |
157 | =head2 The C<overloading> pragma and regexp objects |
158 | ||
159 | With C<no overloading>, regular expression objects returned by C<qr//> are | |
160 | now stringified as "Regexp=REGEXP(0xbe600d)" instead of the regular | |
161 | expression itself [perl #108780]. | |
162 | ||
84ecb73f S |
163 | =head2 Two XS typemap Entries removed |
164 | ||
165 | Two presumably unused XS typemap entries have been removed from the | |
166 | core typemap: T_DATAUNIT and T_CALLBACK. If you are, against all odds, | |
167 | a user of these, please see the instructions on how to regain them | |
168 | in L<perlxstypemap>. | |
169 | ||
7620cb10 KW |
170 | =head2 Unicode 6.1 has incompatibilities with Unicode 6.0 |
171 | ||
172 | These are detailed in L</Supports (almost) Unicode 6.1> above. | |
173 | ||
290a3bf6 KW |
174 | =head2 Changed returns for some properties in C<Unicode::UCD::prop_invmap()> |
175 | ||
176 | The return values for C<prop_invmap> have been changed for some | |
177 | properties to make the returned lists significantly smaller. This | |
178 | allows those lists to be searched faster. | |
179 | ||
180 | This function was introduced earlier in the v5.15 series of releases, | |
181 | and the API will not be considered stable until v5.16. | |
182 | ||
183 | See L<Unicode::UCD/prop_invmap()> for details on the new interface. | |
184 | ||
c1e74734 | 185 | =head1 Deprecations |
b240fc0f | 186 | |
c1e74734 CBW |
187 | XXX Any deprecated features, syntax, modules etc. should be listed here. |
188 | In particular, deprecated modules should be listed here even if they are | |
189 | listed as an updated module in the L</Modules and Pragmata> section. | |
4e6ab4ad | 190 | |
c1e74734 | 191 | [ List each deprecation as a =head2 entry ] |
4e6ab4ad | 192 | |
c1e74734 | 193 | =head1 Performance Enhancements |
79e10968 | 194 | |
c1e74734 CBW |
195 | XXX Changes which enhance performance without changing behaviour go here. There |
196 | may well be none in a stable release. | |
79e10968 | 197 | |
c1e74734 | 198 | [ List each enhancement as a =item entry ] |
ea88c40c | 199 | |
c1e74734 | 200 | =over 4 |
9d055b1a CBW |
201 | |
202 | =item * | |
203 | ||
c1e74734 | 204 | XXX |
cadced9f | 205 | |
c1e74734 | 206 | =back |
cadced9f | 207 | |
c1e74734 | 208 | =head1 Modules and Pragmata |
cadced9f | 209 | |
c1e74734 CBW |
210 | XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/> |
211 | go here. If Module::CoreList is updated, generate an initial draft of the | |
212 | following sections using F<Porting/corelist-perldelta.pl>, which prints stub | |
213 | entries to STDOUT. Results can be pasted in place of the '=head2' entries | |
214 | below. A paragraph summary for important changes should then be added by hand. | |
215 | In an ideal world, dual-life modules would have a F<Changes> file that could be | |
216 | cribbed. | |
cadced9f | 217 | |
c1e74734 | 218 | [ Within each section, list entries as a =item entry ] |
07feb684 | 219 | |
c1e74734 | 220 | =head2 New Modules and Pragmata |
cadced9f | 221 | |
c1e74734 | 222 | =over 4 |
632c5d30 NC |
223 | |
224 | =item * | |
225 | ||
2f987927 FC |
226 | The C<mmap> PerlIO layer is no longer implemented by perl itself, but has |
227 | been moved out into the new L<PerlIO::mmap> module. | |
4e6e9b23 | 228 | |
c1e74734 | 229 | =back |
4e6e9b23 | 230 | |
c1e74734 | 231 | =head2 Updated Modules and Pragmata |
4e6e9b23 | 232 | |
c1e74734 | 233 | =over 4 |
1887da8c RS |
234 | |
235 | =item * | |
236 | ||
eeac62ad FC |
237 | L<arybase> has been upgraded from version 0.03 to version 0.04. |
238 | ||
239 | List slices no longer modify items on the stack belonging to outer lists | |
240 | [perl #109570]. | |
241 | ||
242 | =item * | |
243 | ||
197aacaf FC |
244 | L<B> has been upgraded from version 1.33 to version 1.34. |
245 | ||
246 | C<B::COP> now has a C<stashflags> method, corresponding to a new internal | |
247 | field added in 5.15.4 [perl #108860]. | |
248 | ||
249 | =item * | |
250 | ||
c0f37554 FC |
251 | L<Carp> has been upgraded from version 1.24 to version 1.25. |
252 | ||
253 | It now puts a dot after the file and line number, just like errors from | |
254 | C<die> [perl #106538]. | |
255 | ||
256 | =item * | |
257 | ||
df697508 | 258 | L<Compress::Raw::Bzip2> has been upgraded from version 2.045 to version 2.048. |
76f546a2 CBW |
259 | |
260 | =item * | |
261 | ||
ecea5ab2 | 262 | L<Compress::Raw::Zlib> has been upgraded from version 2.045 to version 2.048. |
589c1691 CBW |
263 | |
264 | =item * | |
265 | ||
8dcc3739 | 266 | L<Compress::Zlib> has been upgraded from version 2.046 to version 2.048. |
422d6414 CBW |
267 | |
268 | =item * | |
269 | ||
2d1dec40 CBW |
270 | L<CPAN::Meta> has been upgraded from version 2.113640 to version 2.120351. |
271 | ||
272 | Work around a memory leak bug involving version objects in boolean context. | |
273 | ||
274 | =item * | |
275 | ||
b3100a1d CBW |
276 | L<CPAN::Meta::YAML> has been upgraded from version 0.005 to version 0.006. |
277 | ||
278 | =item * | |
279 | ||
b34385a6 | 280 | L<DB_File> has been upgraded from version 1.824 to version 1.826. |
acb29889 CBW |
281 | |
282 | =item * | |
283 | ||
ce2c4022 NC |
284 | L<diagnostics> has been upgraded from version 1.27 to version 1.28. |
285 | ||
286 | When searching for F<perldiag.pod>, it no longer uses paths that were only | |
287 | relevant on Perl 5.004 and earlier. | |
288 | ||
289 | =item * | |
290 | ||
84ecb73f S |
291 | L<ExtUtils::ParseXS> has been upgraded from version 3.12 to version 3.15. |
292 | ||
293 | The new version comes with important tools for sharing typemaps between | |
294 | different CPAN distributions. | |
295 | ||
296 | =item * | |
297 | ||
a3cc0403 FC |
298 | L<File::Copy> has been upgraded from version 2.21 to version 2.23. |
299 | ||
300 | It no longer emits warnings when copying files with newlines in their names | |
301 | [perl #109104]. | |
302 | ||
303 | =item * | |
304 | ||
eb96f3fa CBW |
305 | L<IPC::Cmd> has been upgraded from version 0.72 to version 0.76. |
306 | ||
307 | =item * | |
308 | ||
04ae1553 Z |
309 | L<Math::Complex> has been upgraded from version 1.58 to version 1.59. |
310 | ||
311 | This avoids a new core warning. | |
312 | ||
313 | =item * | |
314 | ||
1051d5b5 | 315 | L<Pod::Parser> has been upgraded from version 1.37 to version 1.51. |
88c5c971 | 316 | |
2a7afa74 NC |
317 | =item * |
318 | ||
ecd144ea FC |
319 | L<Term::ReadLine> has been upgraded from version 1.07 to version 1.08. |
320 | ||
321 | Its C<tkRunning> method now supports L<AnyEvent> event loops, and not just | |
322 | L<Tk>. A more general mechanism has been proposed, so this may be reverted | |
323 | before Perl 5.16 [perl #108470]. | |
324 | ||
325 | =item * | |
326 | ||
858dcda5 Z |
327 | L<Time::HiRes> has been upgraded from version 1.9724 to version 1.9725. |
328 | ||
694644e0 | 329 | C<Time::HiRes::stat()> no longer corrupts the Perl stack. |
858dcda5 Z |
330 | |
331 | =item * | |
332 | ||
2a7afa74 NC |
333 | L<Unicode::UCD> has been upgraded from version 0.39 to 0.40. |
334 | ||
335 | The only change is to fix a formatting error in the Pod. | |
336 | ||
e9e4ee62 CBW |
337 | =item * |
338 | ||
339 | L<Version::Requirements> has been upgraded from version 0.101021 to version 0.101022. | |
340 | ||
c1e74734 | 341 | =back |
c0504019 | 342 | |
c1e74734 | 343 | =head2 Removed Modules and Pragmata |
937a45d0 | 344 | |
c1e74734 | 345 | =over 4 |
937a45d0 | 346 | |
ef337e16 CBW |
347 | =item * |
348 | ||
c1e74734 | 349 | XXX |
ef337e16 | 350 | |
7f28d7ed | 351 | =back |
679b54e7 | 352 | |
52deee2e | 353 | =head1 Documentation |
3c7c5233 | 354 | |
c1e74734 CBW |
355 | XXX Changes to files in F<pod/> go here. Consider grouping entries by |
356 | file and be sure to link to the appropriate page, e.g. L<perlfunc>. | |
a71d67b1 | 357 | |
c1e74734 | 358 | =head2 New Documentation |
cadced9f | 359 | |
c1e74734 | 360 | XXX Changes which create B<new> files in F<pod/> go here. |
cadced9f | 361 | |
84ecb73f S |
362 | =head3 L<perlxstypemap> |
363 | ||
364 | The new manual describes the XS typemapping mechanism in unprecedented | |
365 | detail and combines new documentation with information extracted from | |
366 | L<perlxs> and the previously unofficial list of all core typemaps. | |
367 | ||
c1e74734 | 368 | =head3 L<XXX> |
cadced9f | 369 | |
c1e74734 | 370 | XXX Description of the purpose of the new file here |
cadced9f | 371 | |
c1e74734 | 372 | =head2 Changes to Existing Documentation |
cadced9f | 373 | |
c1e74734 CBW |
374 | XXX Changes which significantly change existing files in F<pod/> go here. |
375 | However, any changes to F<pod/perldiag.pod> should go in the L</Diagnostics> | |
376 | section. | |
cadced9f | 377 | |
c1e74734 | 378 | =head3 L<XXX> |
7e7629fa | 379 | |
52deee2e | 380 | =over 4 |
7e7629fa FC |
381 | |
382 | =item * | |
383 | ||
c1e74734 | 384 | XXX Description of the change here |
c2654555 | 385 | |
52deee2e | 386 | =back |
85ca3be7 | 387 | |
52deee2e | 388 | =head1 Diagnostics |
85ca3be7 | 389 | |
52deee2e DR |
390 | The following additions or changes have been made to diagnostic output, |
391 | including warnings and fatal error messages. For the complete list of | |
392 | diagnostic messages, see L<perldiag>. | |
7788a270 | 393 | |
c1e74734 CBW |
394 | XXX New or changed warnings emitted by the core's C<C> code go here. Also |
395 | include any changes in L<perldiag> that reconcile it to the C<C> code. | |
6138a722 | 396 | |
c1e74734 CBW |
397 | [ Within each section, list entries as a =item entry that links to perldiag, |
398 | e.g. | |
a47fb3fe | 399 | |
c1e74734 | 400 | =item * |
4888c563 | 401 | |
c1e74734 CBW |
402 | L<Invalid version object|perldiag/"Invalid version object"> |
403 | ] | |
a3f52e2e | 404 | |
c1e74734 | 405 | =head2 New Diagnostics |
52272450 | 406 | |
c1e74734 | 407 | XXX Newly added diagnostic messages go here |
52272450 | 408 | |
c1e74734 | 409 | =head3 New Errors |
a47fb3fe | 410 | |
0aaeb177 | 411 | =over 4 |
7ef25837 | 412 | |
6d110ad0 FC |
413 | =item * |
414 | ||
c1e74734 | 415 | XXX L<message|perldiag/"message"> |
604a99bd | 416 | |
c1e74734 | 417 | =back |
ea88c40c | 418 | |
c1e74734 | 419 | =head3 New Warnings |
ea88c40c | 420 | |
c1e74734 | 421 | =over 4 |
ea88c40c FC |
422 | |
423 | =item * | |
424 | ||
c1e74734 | 425 | XXX L<message|perldiag/"message"> |
ea88c40c | 426 | |
6d110ad0 FC |
427 | =back |
428 | ||
c1e74734 CBW |
429 | =head2 Changes to Existing Diagnostics |
430 | ||
431 | XXX Changes (i.e. rewording) of diagnostic messages go here | |
cadced9f FC |
432 | |
433 | =over 4 | |
434 | ||
435 | =item * | |
436 | ||
c1e74734 | 437 | XXX Describe change here |
cadced9f FC |
438 | |
439 | =back | |
440 | ||
0aaeb177 | 441 | =head1 Utility Changes |
9cfd094e | 442 | |
c1e74734 CBW |
443 | XXX Changes to installed programs such as F<perlbug> and F<xsubpp> go |
444 | here. Most of these are built within the directories F<utils> and F<x2p>. | |
d7fbd56d | 445 | |
c1e74734 CBW |
446 | [ List utility changes as a =head3 entry for each utility and =item |
447 | entries for each change | |
448 | Use L<XXX> with program names to get proper documentation linking. ] | |
d7fbd56d | 449 | |
c1e74734 | 450 | =head3 L<XXX> |
d7fbd56d | 451 | |
c1e74734 | 452 | =over 4 |
ba91b4f3 | 453 | |
b18aa002 FC |
454 | =item * |
455 | ||
c1e74734 | 456 | XXX |
b18aa002 | 457 | |
52deee2e | 458 | =back |
ba91b4f3 | 459 | |
52deee2e | 460 | =head1 Configuration and Compilation |
f4912a50 | 461 | |
c1e74734 CBW |
462 | XXX Changes to F<Configure>, F<installperl>, F<installman>, and analogous tools |
463 | go here. Any other changes to the Perl build process should be listed here. | |
464 | However, any platform-specific changes should be listed in the | |
465 | L</Platform Support> section, instead. | |
a3f52e2e | 466 | |
c1e74734 | 467 | [ List changes as a =item entry ]. |
a3f52e2e | 468 | |
0aaeb177 | 469 | =over 4 |
ad32999b | 470 | |
f4912a50 | 471 | =item * |
ad32999b | 472 | |
c1e74734 | 473 | XXX |
c15f899f | 474 | |
7f28d7ed | 475 | =back |
ad32999b | 476 | |
c1e74734 | 477 | =head1 Testing |
39de7394 | 478 | |
c1e74734 CBW |
479 | XXX Any significant changes to the testing of a freshly built perl should be |
480 | listed here. Changes which create B<new> files in F<t/> go here as do any | |
481 | large changes to the testing harness (e.g. when parallel testing was added). | |
482 | Changes to existing files in F<t/> aren't worth summarising, although the bugs | |
483 | that they represent may be covered elsewhere. | |
39de7394 | 484 | |
c1e74734 | 485 | [ List each test improvement as a =item entry ] |
39de7394 | 486 | |
c1e74734 | 487 | =over 4 |
5dd80d85 | 488 | |
52272450 FC |
489 | =item * |
490 | ||
c1e74734 | 491 | XXX |
52272450 | 492 | |
84ecb73f S |
493 | =item * |
494 | ||
495 | The test suite for typemaps has been extended to cover a larger fraction of | |
496 | the core typemaps. | |
497 | ||
52deee2e | 498 | =back |
5dd80d85 | 499 | |
c1e74734 | 500 | =head1 Platform Support |
52272450 | 501 | |
c1e74734 | 502 | XXX Any changes to platform support should be listed in the sections below. |
52272450 | 503 | |
c1e74734 CBW |
504 | [ Within the sections, list each platform as a =item entry with specific |
505 | changes as paragraphs below it. ] | |
ad266194 | 506 | |
c1e74734 | 507 | =head2 New Platforms |
ad266194 | 508 | |
c1e74734 CBW |
509 | XXX List any platforms that this version of perl compiles on, that previous |
510 | versions did not. These will either be enabled by new files in the F<hints/> | |
511 | directories, or new subdirectories and F<README> files at the top level of the | |
512 | source tree. | |
ad266194 | 513 | |
c1e74734 | 514 | =over 4 |
838cf719 | 515 | |
c1e74734 | 516 | =item XXX-some-platform |
838cf719 | 517 | |
c1e74734 | 518 | XXX |
b00f6edb | 519 | |
c1e74734 | 520 | =back |
b00f6edb | 521 | |
c1e74734 | 522 | =head2 Discontinued Platforms |
7a3fd9ed | 523 | |
c1e74734 | 524 | XXX List any platforms that this version of perl no longer compiles on. |
7a3fd9ed | 525 | |
c1e74734 | 526 | =over 4 |
1a50d74b | 527 | |
c1e74734 | 528 | =item XXX-some-platform |
1a50d74b | 529 | |
c1e74734 | 530 | XXX |
ea88c40c | 531 | |
c1e74734 | 532 | =back |
ea88c40c | 533 | |
c1e74734 | 534 | =head2 Platform-Specific Notes |
ea88c40c | 535 | |
c1e74734 CBW |
536 | XXX List any changes for specific platforms. This could include configuration |
537 | and compilation changes or changes in portability/compatibility. However, | |
538 | changes within modules for platforms should generally be listed in the | |
539 | L</Modules and Pragmata> section. | |
ea88c40c | 540 | |
c1e74734 | 541 | =over 4 |
ea88c40c | 542 | |
c1e74734 | 543 | =item XXX-some-platform |
ea88c40c | 544 | |
c1e74734 | 545 | XXX |
ea88c40c | 546 | |
c1e74734 | 547 | =back |
ea88c40c | 548 | |
c1e74734 | 549 | =head1 Internal Changes |
ea88c40c | 550 | |
c1e74734 CBW |
551 | XXX Changes which affect the interface available to C<XS> code go here. |
552 | Other significant internal changes for future core maintainers should | |
553 | be noted as well. | |
ea88c40c | 554 | |
c1e74734 | 555 | [ List each change as a =item entry ] |
ea88c40c | 556 | |
c1e74734 | 557 | =over 4 |
ea88c40c FC |
558 | |
559 | =item * | |
560 | ||
c1e74734 | 561 | XXX |
ea88c40c | 562 | |
c1e74734 | 563 | =back |
ea88c40c | 564 | |
c1e74734 | 565 | =head1 Selected Bug Fixes |
ea88c40c | 566 | |
c1e74734 CBW |
567 | XXX Important bug fixes in the core language are summarised here. |
568 | Bug fixes in files in F<ext/> and F<lib/> are best summarised in | |
569 | L</Modules and Pragmata>. | |
ea88c40c | 570 | |
c1e74734 | 571 | [ List each fix as a =item entry ] |
ea88c40c | 572 | |
c1e74734 | 573 | =over 4 |
ea88c40c FC |
574 | |
575 | =item * | |
576 | ||
6025c6dd RS |
577 | C<~~> now correctly handles the precedence of Any~~Object, and is not tricked |
578 | by an overloaded object on the left-hand side. | |
ea88c40c | 579 | |
249950d7 FC |
580 | =item * |
581 | ||
582 | C<stat _> no longer warns about unopened filehandles [perl #71002]. | |
583 | ||
584 | =item * | |
585 | ||
586 | C<stat> on an unopened filehandle now warns consistently, instead of | |
587 | skipping the warning at times. | |
588 | ||
589 | =item * | |
590 | ||
591 | A change in an earlier 5.15 release caused warning hints to propagate into | |
592 | C<do $file>. This has been fixed [rt.cpan.org #72767]. | |
593 | ||
594 | =item * | |
595 | ||
596 | Starting with 5.12.0, Perl used to get its internal bookkeeping muddled up | |
597 | after assigning C<${ qr// }> to a hash element and locking it with | |
598 | L<Hash::Util>. This could result in double frees, crashes or erratic | |
599 | behaviour. | |
600 | ||
92c88ef1 FC |
601 | =item * |
602 | ||
603 | In 5.15.7, some typeglobs in the CORE namespace were made read-only by | |
604 | mistake. This has been fixed [rt.cpan.org #74289]. | |
605 | ||
b1ea7742 FC |
606 | =item * |
607 | ||
608 | C<-t> now works when stacked with other filetest operators [perl #77388]. | |
609 | ||
a1d95121 FC |
610 | =item * |
611 | ||
612 | Stacked filetest operators now only call FETCH once on a tied argument. | |
613 | ||
ff4ff6f3 FC |
614 | =item * |
615 | ||
616 | C</.*/g> would sometimes refuse to match at the end of a string that ends | |
617 | with "\n". This has been fixed [perl #109206]. | |
618 | ||
a7bff800 FC |
619 | =item * |
620 | ||
621 | Method calls whose arguments were all surrounded with C<my()> or C<our()> | |
622 | (as in C<<$object->method(my($a,$b)) >>) used to force lvalue context on | |
623 | the subroutine. This would prevent lvalue methods from returning certain | |
624 | values. Due to lvalue fixes earlier in the 5.15.x series, it would also | |
625 | prevent non-lvalue methods from being called [perl #109264]. | |
626 | ||
627 | =for comment | |
628 | This bug I<did> affect earlier stable releases. It is just the last | |
629 | sentence that does not apply to 5.14. | |
630 | ||
0aae26c1 FC |
631 | =item * |
632 | ||
633 | The C<SvPVutf8> C function no longer tries to modify its argument, | |
634 | resulting in errors [perl #108994]. | |
635 | ||
636 | =item * | |
637 | ||
638 | C<SvPVutf8> now works properly with magical variables. | |
639 | ||
640 | =item * | |
641 | ||
642 | C<SvPVbyte> now works properly non-PVs. | |
643 | ||
ea88c40c FC |
644 | =back |
645 | ||
c1e74734 | 646 | =head1 Known Problems |
ea88c40c | 647 | |
c1e74734 CBW |
648 | XXX Descriptions of platform agnostic bugs we know we can't fix go here. Any |
649 | tests that had to be C<TODO>ed for the release would be noted here, unless | |
650 | they were specific to a particular platform (see below). | |
ea88c40c | 651 | |
c1e74734 CBW |
652 | This is a list of some significant unfixed bugs, which are regressions |
653 | from either 5.XXX.XXX or 5.XXX.XXX. | |
ea88c40c | 654 | |
c1e74734 | 655 | [ List each fix as a =item entry ] |
ea88c40c | 656 | |
c1e74734 | 657 | =over 4 |
18af289e | 658 | |
c1e74734 | 659 | =item * |
18af289e | 660 | |
c1e74734 | 661 | XXX |
1ac442bc | 662 | |
c1e74734 | 663 | =back |
c0154fe2 | 664 | |
c1e74734 | 665 | =head1 Obituary |
1ac442bc | 666 | |
c1e74734 CBW |
667 | XXX If any significant core contributor has died, we've added a short obituary |
668 | here. | |
84b2a83e | 669 | |
52deee2e | 670 | =head1 Acknowledgements |
8fe05716 | 671 | |
c1e74734 CBW |
672 | XXX Generate this with: |
673 | ||
674 | perl Porting/acknowledgements.pl v5.15.7..HEAD | |
29cf780c | 675 | |
44691e6f AB |
676 | =head1 Reporting Bugs |
677 | ||
678 | If you find what you think is a bug, you might check the articles | |
52deee2e DR |
679 | recently posted to the comp.lang.perl.misc newsgroup and the perl |
680 | bug database at http://rt.perl.org/perlbug/ . There may also be | |
44691e6f AB |
681 | information at http://www.perl.org/ , the Perl Home Page. |
682 | ||
683 | If you believe you have an unreported bug, please run the L<perlbug> | |
52deee2e DR |
684 | program included with your release. Be sure to trim your bug down |
685 | to a tiny but sufficient test case. Your bug report, along with the | |
686 | output of C<perl -V>, will be sent off to perlbug@perl.org to be | |
687 | analysed by the Perl porting team. | |
44691e6f AB |
688 | |
689 | If the bug you are reporting has security implications, which make it | |
52deee2e DR |
690 | inappropriate to send to a publicly archived mailing list, then please send |
691 | it to perl5-security-report@perl.org. This points to a closed subscription | |
692 | unarchived mailing list, which includes | |
693 | all the core committers, who will be able | |
694 | to help assess the impact of issues, figure out a resolution, and help | |
695 | co-ordinate the release of patches to mitigate or fix the problem across all | |
696 | platforms on which Perl is supported. Please only use this address for | |
697 | security issues in the Perl core, not for modules independently | |
698 | distributed on CPAN. | |
44691e6f AB |
699 | |
700 | =head1 SEE ALSO | |
701 | ||
52deee2e DR |
702 | The F<Changes> file for an explanation of how to view exhaustive details |
703 | on what changed. | |
44691e6f AB |
704 | |
705 | The F<INSTALL> file for how to build Perl. | |
706 | ||
707 | The F<README> file for general stuff. | |
708 | ||
709 | The F<Artistic> and F<Copying> files for copyright information. | |
710 | ||
711 | =cut |