Debian Codegraph @

upstream/opensuse-tumbleweed/man1/perl5120delta.1

raw
1 .\" -*- mode: troff; coding: utf-8 -*-
2 .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45)
3 .\"
4 .\" Standard preamble:
5 .\" ========================================================================
6 .de Sp \" Vertical space (when we can't use .PP)
7 .if t .sp .5v
8 .if n .sp
9 ..
10 .de Vb \" Begin verbatim text
11 .ft CW
12 .nf
13 .ne \\$1
14 ..
15 .de Ve \" End verbatim text
16 .ft R
17 .fi
18 ..
19 .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
20 .ie n \{\
21 . ds C` ""
22 . ds C' ""
23 'br\}
24 .el\{\
25 . ds C`
26 . ds C'
27 'br\}
28 .\"
29 .\" Escape single quotes in literal strings from groff's Unicode transform.
30 .ie \n(.g .ds Aq \(aq
31 .el .ds Aq '
32 .\"
33 .\" If the F register is >0, we'll generate index entries on stderr for
34 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
35 .\" entries marked with X<> in POD. Of course, you'll have to process the
36 .\" output yourself in some meaningful fashion.
37 .\"
38 .\" Avoid warning from groff about undefined register 'F'.
39 .de IX
40 ..
41 .nr rF 0
42 .if \n(.g .if rF .nr rF 1
43 .if (\n(rF:(\n(.g==0)) \{\
44 . if \nF \{\
45 . de IX
46 . tm Index:\\$1\t\\n%\t"\\$2"
47 ..
48 . if !\nF==2 \{\
49 . nr % 0
50 . nr F 2
51 . \}
52 . \}
53 .\}
54 .rr rF
55 .\"
56 .\" Required to disable full justification in groff 1.23.0.
57 .if n .ds AD l
58 .\" ========================================================================
59 .\"
60 .IX Title "PERL5120DELTA 1"
61 .TH PERL5120DELTA 1 2026-03-09 "perl v5.42.1" "Perl Programmers Reference Guide"
62 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
63 .\" way too many mistakes in technical documents.
64 .if n .ad l
65 .nh
66 .SH NAME
67 perl5120delta \- what is new for perl v5.12.0
68 .SH DESCRIPTION
69 .IX Header "DESCRIPTION"
70 This document describes differences between the 5.10.0 release and the
71 5.12.0 release.
72 .PP
73 Many of the bug fixes in 5.12.0 are already included in the 5.10.1
74 maintenance release.
75 .PP
76 You can see the list of those changes in the 5.10.1 release notes
77 (perl5101delta).
78 .SH "Core Enhancements"
79 .IX Header "Core Enhancements"
80 .ie n .SS "New ""package NAME VERSION"" syntax"
81 .el .SS "New \f(CWpackage NAME VERSION\fP syntax"
82 .IX Subsection "New package NAME VERSION syntax"
83 This new syntax allows a module author to set the \f(CW$VERSION\fR of a namespace
84 when the namespace is declared with \*(Aqpackage\*(Aq. It eliminates the need
85 for \f(CW\*(C`our $VERSION = ...\*(C'\fR and similar constructs. E.g.
86 .PP
87 .Vb 2
88 \& package Foo::Bar 1.23;
89 \& # $Foo::Bar::VERSION == 1.23
90 .Ve
91 .PP
92 There are several advantages to this:
93 .IP \(bu 4
94 \&\f(CW$VERSION\fR is parsed in exactly the same way as \f(CW\*(C`use NAME VERSION\*(C'\fR
95 .IP \(bu 4
96 \&\f(CW$VERSION\fR is set at compile time
97 .IP \(bu 4
98 \&\f(CW$VERSION\fR is a version object that provides proper overloading of
99 comparison operators so comparing \f(CW$VERSION\fR to decimal (1.23) or
100 dotted\-decimal (v1.2.3) version numbers works correctly.
101 .IP \(bu 4
102 Eliminates \f(CW\*(C`$VERSION = ...\*(C'\fR and \f(CW\*(C`eval $VERSION\*(C'\fR clutter
103 .IP \(bu 4
104 As it requires VERSION to be a numeric literal or v\-string
105 literal, it can be statically parsed by toolchain modules
106 without \f(CW\*(C`eval\*(C'\fR the way MM\->parse_version does for \f(CW\*(C`$VERSION = ...\*(C'\fR
107 .PP
108 It does not break old code with only \f(CW\*(C`package NAME\*(C'\fR, but code that uses
109 \&\f(CW\*(C`package NAME VERSION\*(C'\fR will need to be restricted to perl 5.12.0 or newer.
110 This is analogous to the change to \f(CW\*(C`open\*(C'\fR from two\-args to three\-args.
111 Users requiring the latest Perl will benefit, and perhaps after several
112 years, it will become a standard practice.
113 .PP
114 However, \f(CW\*(C`package NAME VERSION\*(C'\fR requires a new, \*(Aqstrict\*(Aq version
115 number format. See "Version number formats" for details.
116 .ie n .SS "The ""..."" operator"
117 .el .SS "The \f(CW...\fP operator"
118 .IX Subsection "The ... operator"
119 A new operator, \f(CW\*(C`...\*(C'\fR, nicknamed the Yada Yada operator, has been added.
120 It is intended to mark placeholder code that is not yet implemented.
121 See "Yada Yada Operator" in perlop.
122 .SS "Implicit strictures"
123 .IX Subsection "Implicit strictures"
124 Using the \f(CW\*(C`use VERSION\*(C'\fR syntax with a version number greater or equal
125 to 5.11.0 will lexically enable strictures just like \f(CW\*(C`use strict\*(C'\fR
126 would do (in addition to enabling features.) The following:
127 .PP
128 .Vb 1
129 \& use 5.12.0;
130 .Ve
131 .PP
132 means:
133 .PP
134 .Vb 2
135 \& use strict;
136 \& use feature \*(Aq:5.12\*(Aq;
137 .Ve
138 .SS "Unicode improvements"
139 .IX Subsection "Unicode improvements"
140 Perl 5.12 comes with Unicode 5.2, the latest version available to
141 us at the time of release. This version of Unicode was released in
142 October 2009. See <http://www.unicode.org/versions/Unicode5.2.0> for
143 further details about what\*(Aqs changed in this version of the standard.
144 See perlunicode for instructions on installing and using other versions
145 of Unicode.
146 .PP
147 Additionally, Perl\*(Aqs developers have significantly improved Perl\*(Aqs Unicode
148 implementation. For full details, see "Unicode overhaul" below.
149 .SS "Y2038 compliance"
150 .IX Subsection "Y2038 compliance"
151 Perl\*(Aqs core time\-related functions are now Y2038 compliant. (It may not mean much to you, but your kids will love it!)
152 .SS "qr overloading"
153 .IX Subsection "qr overloading"
154 It is now possible to overload the \f(CW\*(C`qr//\*(C'\fR operator, that is,
155 conversion to regexp, like it was already possible to overload
156 conversion to boolean, string or number of objects. It is invoked when
157 an object appears on the right hand side of the \f(CW\*(C`=~\*(C'\fR operator or when
158 it is interpolated into a regexp. See overload.
159 .SS "Pluggable keywords"
160 .IX Subsection "Pluggable keywords"
161 Extension modules can now cleanly hook into the Perl parser to define
162 new kinds of keyword\-headed expression and compound statement. The
163 syntax following the keyword is defined entirely by the extension. This
164 allows a completely non\-Perl sublanguage to be parsed inline, with the
165 correct ops cleanly generated.
166 .PP
167 See "PL_keyword_plugin" in perlapi for the mechanism. The Perl core
168 source distribution also includes a new module
169 XS::APItest::KeywordRPN, which implements reverse Polish notation
170 arithmetic via pluggable keywords. This module is mainly used for test
171 purposes, and is not normally installed, but also serves as an example
172 of how to use the new mechanism.
173 .PP
174 Perl\*(Aqs developers consider this feature to be experimental. We may remove
175 it or change it in a backwards\-incompatible way in Perl 5.14.
176 .SS "APIs for more internals"
177 .IX Subsection "APIs for more internals"
178 The lowest layers of the lexer and parts of the pad system now have C
179 APIs available to XS extensions. These are necessary to support proper
180 use of pluggable keywords, but have other uses too. The new APIs are
181 experimental, and only cover a small proportion of what would be
182 necessary to take full advantage of the core\*(Aqs facilities in these
183 areas. It is intended that the Perl 5.13 development cycle will see the
184 addition of a full range of clean, supported interfaces.
185 .PP
186 Perl\*(Aqs developers consider this feature to be experimental. We may remove
187 it or change it in a backwards\-incompatible way in Perl 5.14.
188 .SS "Overridable function lookup"
189 .IX Subsection "Overridable function lookup"
190 Where an extension module hooks the creation of rv2cv ops to modify the
191 subroutine lookup process, this now works correctly for bareword
192 subroutine calls. This means that prototypes on subroutines referenced
193 this way will be processed correctly. (Previously bareword subroutine
194 names were initially looked up, for parsing purposes, by an unhookable
195 mechanism, so extensions could only properly influence subroutine names
196 that appeared with an \f(CW\*(C`&\*(C'\fR sigil.)
197 .SS "A proper interface for pluggable Method Resolution Orders"
198 .IX Subsection "A proper interface for pluggable Method Resolution Orders"
199 As of Perl 5.12.0 there is a new interface for plugging and using method
200 resolution orders other than the default linear depth first search.
201 The C3 method resolution order added in 5.10.0 has been re\-implemented as
202 a plugin, without changing its Perl\-space interface. See perlmroapi for
203 more information.
204 .ie n .SS """\eN"" experimental regex escape"
205 .el .SS "\f(CW\eN\fP experimental regex escape"
206 .IX Subsection "N experimental regex escape"
207 Perl now supports \f(CW\*(C`\eN\*(C'\fR, a new regex escape which you can think of as
208 the inverse of \f(CW\*(C`\en\*(C'\fR. It will match any character that is not a newline,
209 independently from the presence or absence of the single line match
210 modifier \f(CW\*(C`/s\*(C'\fR. It is not usable within a character class. \f(CW\*(C`\eN{3}\*(C'\fR
211 means to match 3 non\-newlines; \f(CW\*(C`\eN{5,}\*(C'\fR means to match at least 5.
212 \&\f(CW\*(C`\eN{NAME}\*(C'\fR still means the character or sequence named \f(CW\*(C`NAME\*(C'\fR, but
213 \&\f(CW\*(C`NAME\*(C'\fR no longer can be things like \f(CW3\fR, or \f(CW\*(C`5,\*(C'\fR.
214 .PP
215 This will break a custom charnames translator which allows numbers for character names, as \f(CW\*(C`\eN{3}\*(C'\fR will
216 now mean to match 3 non\-newline characters, and not the character whose
217 name is \f(CW3\fR. (No name defined by the Unicode standard is a number,
218 so only custom translators might be affected.)
219 .PP
220 Perl\*(Aqs developers are somewhat concerned about possible user confusion
221 with the existing \f(CW\*(C`\eN{...}\*(C'\fR construct which matches characters by their
222 Unicode name. Consequently, this feature is experimental. We may remove
223 it or change it in a backwards\-incompatible way in Perl 5.14.
224 .SS "DTrace support"
225 .IX Subsection "DTrace support"
226 Perl now has some support for DTrace. See "DTrace support" in \fIINSTALL\fR.
227 .ie n .SS "Support for ""configure_requires"" in CPAN module metadata"
228 .el .SS "Support for \f(CWconfigure_requires\fP in CPAN module metadata"
229 .IX Subsection "Support for configure_requires in CPAN module metadata"
230 Both \f(CW\*(C`CPAN\*(C'\fR and \f(CW\*(C`CPANPLUS\*(C'\fR now support the \f(CW\*(C`configure_requires\*(C'\fR
231 keyword in the \fIMETA.yml\fR metadata file included in most recent CPAN
232 distributions. This allows distribution authors to specify configuration
233 prerequisites that must be installed before running \fIMakefile.PL\fR
234 or \fIBuild.PL\fR.
235 .PP
236 See the documentation for \f(CW\*(C`ExtUtils::MakeMaker\*(C'\fR or \f(CW\*(C`Module::Build\*(C'\fR for
237 more on how to specify \f(CW\*(C`configure_requires\*(C'\fR when creating a distribution
238 for CPAN.
239 .ie n .SS """each"", ""keys"", ""values"" are now more flexible"
240 .el .SS "\f(CWeach\fP, \f(CWkeys\fP, \f(CWvalues\fP are now more flexible"
241 .IX Subsection "each, keys, values are now more flexible"
242 The \f(CW\*(C`each\*(C'\fR, \f(CW\*(C`keys\*(C'\fR, \f(CW\*(C`values\*(C'\fR function can now operate on arrays.
243 .ie n .SS """when"" as a statement modifier"
244 .el .SS "\f(CWwhen\fP as a statement modifier"
245 .IX Subsection "when as a statement modifier"
246 \&\f(CW\*(C`when\*(C'\fR is now allowed to be used as a statement modifier.
247 .ie n .SS "$, flexibility"
248 .el .SS "\f(CW$,\fP flexibility"
249 .IX Subsection "$, flexibility"
250 The variable \f(CW$,\fR may now be tied.
251 .SS "// in when clauses"
252 .IX Subsection "// in when clauses"
253 // now behaves like || in when clauses
254 .SS "Enabling warnings from your shell environment"
255 .IX Subsection "Enabling warnings from your shell environment"
256 You can now set \f(CW\*(C`\-W\*(C'\fR from the \f(CW\*(C`PERL5OPT\*(C'\fR environment variable
257 .ie n .SS """delete local"""
258 .el .SS "\f(CWdelete local\fP"
259 .IX Subsection "delete local"
260 \&\f(CW\*(C`delete local\*(C'\fR now allows you to locally delete a hash entry.
261 .SS "New support for Abstract namespace sockets"
262 .IX Subsection "New support for Abstract namespace sockets"
263 Abstract namespace sockets are Linux\-specific socket type that live in
264 AF_UNIX family, slightly abusing it to be able to use arbitrary
265 character arrays as addresses: They start with nul byte and are not
266 terminated by nul byte, but with the length passed to the \fBsocket()\fR
267 system call.
268 .SS "32\-bit limit on substr arguments removed"
269 .IX Subsection "32-bit limit on substr arguments removed"
270 The 32\-bit limit on \f(CW\*(C`substr\*(C'\fR arguments has now been removed. The full
271 range of the system\*(Aqs signed and unsigned integers is now available for
272 the \f(CW\*(C`pos\*(C'\fR and \f(CW\*(C`len\*(C'\fR arguments.
273 .SH "Potentially Incompatible Changes"
274 .IX Header "Potentially Incompatible Changes"
275 .SS "Deprecations warn by default"
276 .IX Subsection "Deprecations warn by default"
277 Over the years, Perl\*(Aqs developers have deprecated a number of language
278 features for a variety of reasons. Perl now defaults to issuing a
279 warning if a deprecated language feature is used. Many of the deprecations
280 Perl now warns you about have been deprecated for many years. You can
281 find a list of what was deprecated in a given release of Perl in the
282 \&\f(CW\*(C`perl5xxdelta.pod\*(C'\fR file for that release.
283 .PP
284 To disable this feature in a given lexical scope, you should use \f(CW\*(C`no
285 warnings \*(Aqdeprecated\*(Aq;\*(C'\fR For information about which language features
286 are deprecated and explanations of various deprecation warnings, please
287 see perldiag. See "Deprecations" below for the list of features
288 and modules Perl\*(Aqs developers have deprecated as part of this release.
289 .SS "Version number formats"
290 .IX Subsection "Version number formats"
291 Acceptable version number formats have been formalized into "strict" and
292 "lax" rules. \f(CW\*(C`package NAME VERSION\*(C'\fR takes a strict version number.
293 \&\f(CW\*(C`UNIVERSAL::VERSION\*(C'\fR and the version object constructors take lax
294 version numbers. Providing an invalid version will result in a fatal
295 error. The version argument in \f(CW\*(C`use NAME VERSION\*(C'\fR is first parsed as a
296 numeric literal or v\-string and then passed to \f(CW\*(C`UNIVERSAL::VERSION\*(C'\fR
297 (and must then pass the "lax" format test).
298 .PP
299 These formats are documented fully in the version module. To a first
300 approximation, a "strict" version number is a positive decimal number
301 (integer or decimal\-fraction) without exponentiation or else a
302 dotted\-decimal v\-string with a leading \*(Aqv\*(Aq character and at least three
303 components. A "lax" version number allows v\-strings with fewer than
304 three components or without a leading \*(Aqv\*(Aq. Under "lax" rules, both
305 decimal and dotted\-decimal versions may have a trailing "alpha"
306 component separated by an underscore character after a fractional or
307 dotted\-decimal component.
308 .PP
309 The version module adds \f(CW\*(C`version::is_strict\*(C'\fR and \f(CW\*(C`version::is_lax\*(C'\fR
310 functions to check a scalar against these rules.
311 .ie n .SS "@INC reorganization"
312 .el .SS "\f(CW@INC\fP reorganization"
313 .IX Subsection "@INC reorganization"
314 In \f(CW@INC\fR, \f(CW\*(C`ARCHLIB\*(C'\fR and \f(CW\*(C`PRIVLIB\*(C'\fR now occur after the current
315 version\*(Aqs \f(CW\*(C`site_perl\*(C'\fR and \f(CW\*(C`vendor_perl\*(C'\fR. Modules installed into
316 \&\f(CW\*(C`site_perl\*(C'\fR and \f(CW\*(C`vendor_perl\*(C'\fR will now be loaded in preference to
317 those installed in \f(CW\*(C`ARCHLIB\*(C'\fR and \f(CW\*(C`PRIVLIB\*(C'\fR.
318 .SS "REGEXPs are now first class"
319 .IX Subsection "REGEXPs are now first class"
320 Internally, Perl now treats compiled regular expressions (such as
321 those created with \f(CW\*(C`qr//\*(C'\fR) as first class entities. Perl modules which
322 serialize, deserialize or otherwise have deep interaction with Perl\*(Aqs
323 internal data structures need to be updated for this change. Most
324 affected CPAN modules have already been updated as of this writing.
325 .SS "Switch statement changes"
326 .IX Subsection "Switch statement changes"
327 The \f(CW\*(C`given\*(C'\fR/\f(CW\*(C`when\*(C'\fR switch statement handles complex statements better
328 than Perl 5.10.0 did (These enhancements are also available in
329 5.10.1 and subsequent 5.10 releases.) There are two new cases where
330 \&\f(CW\*(C`when\*(C'\fR now interprets its argument as a boolean, instead of an
331 expression to be used in a smart match:
332 .IP "flip\-flop operators" 4
333 .IX Item "flip-flop operators"
334 The \f(CW\*(C`..\*(C'\fR and \f(CW\*(C`...\*(C'\fR flip\-flop operators are now evaluated in boolean
335 context, following their usual semantics; see "Range Operators" in perlop.
336 .Sp
337 Note that, as in perl 5.10.0, \f(CW\*(C`when (1..10)\*(C'\fR will not work to test
338 whether a given value is an integer between 1 and 10; you should use
339 \&\f(CW\*(C`when ([1..10])\*(C'\fR instead (note the array reference).
340 .Sp
341 However, contrary to 5.10.0, evaluating the flip\-flop operators in
342 boolean context ensures it can now be useful in a \f(CWwhen()\fR, notably
343 for implementing bistable conditions, like in:
344 .Sp
345 .Vb 3
346 \& when (/^=begin/ .. /^=end/) {
347 \& # do something
348 \& }
349 .Ve
350 .IP "defined\-or operator" 4
351 .IX Item "defined-or operator"
352 A compound expression involving the defined\-or operator, as in
353 \&\f(CW\*(C`when (expr1 // expr2)\*(C'\fR, will be treated as boolean if the first
354 expression is boolean. (This just extends the existing rule that applies
355 to the regular or operator, as in \f(CW\*(C`when (expr1 || expr2)\*(C'\fR.)
356 .SS "Smart match changes"
357 .IX Subsection "Smart match changes"
358 Since Perl 5.10.0, Perl\*(Aqs developers have made a number of changes to
359 the smart match operator. These, of course, also alter the behaviour
360 of the switch statements where smart matching is implicitly used.
361 These changes were also made for the 5.10.1 release, and will remain in
362 subsequent 5.10 releases.
363 .PP
364 \fIChanges to type\-based dispatch\fR
365 .IX Subsection "Changes to type-based dispatch"
366 .PP
367 The smart match operator \f(CW\*(C`~~\*(C'\fR is no longer commutative. The behaviour of
368 a smart match now depends primarily on the type of its right hand
369 argument. Moreover, its semantics have been adjusted for greater
370 consistency or usefulness in several cases. While the general backwards
371 compatibility is maintained, several changes must be noted:
372 .IP \(bu 4
373 Code references with an empty prototype are no longer treated specially.
374 They are passed an argument like the other code references (even if they
375 choose to ignore it).
376 .IP \(bu 4
377 \&\f(CW\*(C`%hash ~~ sub {}\*(C'\fR and \f(CW\*(C`@array ~~ sub {}\*(C'\fR now test that the subroutine
378 returns a true value for each key of the hash (or element of the
379 array), instead of passing the whole hash or array as a reference to
380 the subroutine.
381 .IP \(bu 4
382 Due to the commutativity breakage, code references are no longer
383 treated specially when appearing on the left of the \f(CW\*(C`~~\*(C'\fR operator,
384 but like any vulgar scalar.
385 .IP \(bu 4
386 \&\f(CW\*(C`undef ~~ %hash\*(C'\fR is always false (since \f(CW\*(C`undef\*(C'\fR can\*(Aqt be a key in a
387 hash). No implicit conversion to \f(CW""\fR is done (as was the case in perl
388 5.10.0).
389 .IP \(bu 4
390 \&\f(CW\*(C`$scalar ~~ @array\*(C'\fR now always distributes the smart match across the
391 elements of the array. It\*(Aqs true if one element in \f(CW@array\fR verifies
392 \&\f(CW\*(C`$scalar ~~ $element\*(C'\fR. This is a generalization of the old behaviour
393 that tested whether the array contained the scalar.
394 .PP
395 The full dispatch table for the smart match operator is given in
396 "Smart matching in detail" in perlsyn.
397 .PP
398 \fISmart match and overloading\fR
399 .IX Subsection "Smart match and overloading"
400 .PP
401 According to the rule of dispatch based on the rightmost argument type,
402 when an object overloading \f(CW\*(C`~~\*(C'\fR appears on the right side of the
403 operator, the overload routine will always be called (with a 3rd argument
404 set to a true value, see overload.) However, when the object will
405 appear on the left, the overload routine will be called only when the
406 rightmost argument is a simple scalar. This way, distributivity of smart
407 match across arrays is not broken, as well as the other behaviours with
408 complex types (coderefs, hashes, regexes). Thus, writers of overloading
409 routines for smart match mostly need to worry only with comparing
410 against a scalar, and possibly with stringification overloading; the
411 other common cases will be automatically handled consistently.
412 .PP
413 \&\f(CW\*(C`~~\*(C'\fR will now refuse to work on objects that do not overload it (in order
414 to avoid relying on the object\*(Aqs underlying structure). (However, if the
415 object overloads the stringification or the numification operators, and
416 if overload fallback is active, it will be used instead, as usual.)
417 .SS "Other potentially incompatible changes"
418 .IX Subsection "Other potentially incompatible changes"
419 .IP \(bu 4
420 The definitions of a number of Unicode properties have changed to match
421 those of the current Unicode standard. These are listed above under
422 "Unicode overhaul". This change may break code that expects the old
423 definitions.
424 .IP \(bu 4
425 The boolkeys op has moved to the group of hash ops. This breaks binary
426 compatibility.
427 .IP \(bu 4
428 Filehandles are now always blessed into \f(CW\*(C`IO::File\*(C'\fR.
429 .Sp
430 The previous behaviour was to bless Filehandles into FileHandle
431 (an empty proxy class) if it was loaded into memory and otherwise
432 to bless them into \f(CW\*(C`IO::Handle\*(C'\fR.
433 .IP \(bu 4
434 The semantics of \f(CW\*(C`use feature :5.10*\*(C'\fR have changed slightly.
435 See "Modules and Pragmata" for more information.
436 .IP \(bu 4
437 Perl\*(Aqs developers now use git, rather than Perforce. This should be
438 a purely internal change only relevant to people actively working on
439 the core. However, you may see minor difference in perl as a consequence
440 of the change. For example in some of details of the output of \f(CW\*(C`perl
441 \&\-V\*(C'\fR. See perlrepository for more information.
442 .IP \(bu 4
443 As part of the \f(CW\*(C`Test::Harness\*(C'\fR 2.x to 3.x upgrade, the experimental
444 \&\f(CW\*(C`Test::Harness::Straps\*(C'\fR module has been removed.
445 See "Modules and Pragmata" for more details.
446 .IP \(bu 4
447 As part of the \f(CW\*(C`ExtUtils::MakeMaker\*(C'\fR upgrade, the
448 \&\f(CW\*(C`ExtUtils::MakeMaker::bytes\*(C'\fR and \f(CW\*(C`ExtUtils::MakeMaker::vmsish\*(C'\fR modules
449 have been removed from this distribution.
450 .IP \(bu 4
451 \&\f(CW\*(C`Module::CoreList\*(C'\fR no longer contains the \f(CW%:patchlevel\fR hash.
452 .IP \(bu 4
453 \&\f(CW\*(C`length undef\*(C'\fR now returns undef.
454 .IP \(bu 4
455 Unsupported private C API functions are now declared "static" to prevent
456 leakage to Perl\*(Aqs public API.
457 .IP \(bu 4
458 To support the bootstrapping process, \fIminiperl\fR no longer builds with
459 UTF\-8 support in the regexp engine.
460 .Sp
461 This allows a build to complete with PERL_UNICODE set and a UTF\-8 locale.
462 Without this there\*(Aqs a bootstrapping problem, as miniperl can\*(Aqt load
463 the UTF\-8 components of the regexp engine, because they\*(Aqre not yet built.
464 .IP \(bu 4
465 \&\fIminiperl\fR\*(Aqs \f(CW@INC\fR is now restricted to just \f(CW\*(C`\-I...\*(C'\fR, the split of
466 \&\f(CW$ENV{PERL5LIB}\fR, and "\f(CW\*(C`.\*(C'\fR"
467 .IP \(bu 4
468 A space or a newline is now required after a \f(CW"#line XXX"\fR directive.
469 .IP \(bu 4
470 Tied filehandles now have an additional method EOF which provides the
471 EOF type.
472 .IP \(bu 4
473 To better match all other flow control statements, \f(CW\*(C`foreach\*(C'\fR may no
474 longer be used as an attribute.
475 .IP \(bu 4
476 Perl\*(Aqs command\-line switch "\-P", which was deprecated in version 5.10.0, has
477 now been removed. The CPAN module \f(CW\*(C`Filter::cpp\*(C'\fR can be used as an
478 alternative.
479 .SH Deprecations
480 .IX Header "Deprecations"
481 From time to time, Perl\*(Aqs developers find it necessary to deprecate
482 features or modules we\*(Aqve previously shipped as part of the core
483 distribution. We are well aware of the pain and frustration that a
484 backwards\-incompatible change to Perl can cause for developers building
485 or maintaining software in Perl. You can be sure that when we deprecate
486 a functionality or syntax, it isn\*(Aqt a choice we make lightly. Sometimes,
487 we choose to deprecate functionality or syntax because it was found to
488 be poorly designed or implemented. Sometimes, this is because they\*(Aqre
489 holding back other features or causing performance problems. Sometimes,
490 the reasons are more complex. Wherever possible, we try to keep deprecated
491 functionality available to developers in its previous form for at least
492 one major release. So long as a deprecated feature isn\*(Aqt actively
493 disrupting our ability to maintain and extend Perl, we\*(Aqll try to leave
494 it in place as long as possible.
495 .PP
496 The following items are now deprecated:
497 .IP suidperl 4
498 .IX Item "suidperl"
499 \&\f(CW\*(C`suidperl\*(C'\fR is no longer part of Perl. It used to provide a mechanism to
500 emulate setuid permission bits on systems that don\*(Aqt support it properly.
501 .ie n .IP "Use of "":="" to mean an empty attribute list" 4
502 .el .IP "Use of \f(CW:=\fR to mean an empty attribute list" 4
503 .IX Item "Use of := to mean an empty attribute list"
504 An accident of Perl\*(Aqs parser meant that these constructions were all
505 equivalent:
506 .Sp
507 .Vb 3
508 \& my $pi := 4;
509 \& my $pi : = 4;
510 \& my $pi : = 4;
511 .Ve
512 .Sp
513 with the \f(CW\*(C`:\*(C'\fR being treated as the start of an attribute list, which
514 ends before the \f(CW\*(C`=\*(C'\fR. As whitespace is not significant here, all are
515 parsed as an empty attribute list, hence all the above are equivalent
516 to, and better written as
517 .Sp
518 .Vb 1
519 \& my $pi = 4;
520 .Ve
521 .Sp
522 because no attribute processing is done for an empty list.
523 .Sp
524 As is, this meant that \f(CW\*(C`:=\*(C'\fR cannot be used as a new token, without
525 silently changing the meaning of existing code. Hence that particular
526 form is now deprecated, and will become a syntax error. If it is
527 absolutely necessary to have empty attribute lists (for example,
528 because of a code generator) then avoid the warning by adding a space
529 before the \f(CW\*(C`=\*(C'\fR.
530 .ie n .IP """UNIVERSAL\->import()""" 4
531 .el .IP \f(CWUNIVERSAL\->import()\fR 4
532 .IX Item "UNIVERSAL->import()"
533 The method \f(CW\*(C`UNIVERSAL\->import()\*(C'\fR is now deprecated. Attempting to
534 pass import arguments to a \f(CW\*(C`use UNIVERSAL\*(C'\fR statement will result in a
535 deprecation warning.
536 .IP "Use of ""goto"" to jump into a construct" 4
537 .IX Item "Use of ""goto"" to jump into a construct"
538 Using \f(CW\*(C`goto\*(C'\fR to jump from an outer scope into an inner scope is now
539 deprecated. This rare use case was causing problems in the
540 implementation of scopes.
541 .IP "Custom character names in \eN{name} that don\*(Aqt look like names" 4
542 .IX Item "Custom character names in N{name} that don't look like names"
543 In \f(CW\*(C`\eN{\fR\f(CIname\fR\f(CW}\*(C'\fR, \fIname\fR can be just about anything. The standard
544 Unicode names have a very limited domain, but a custom name translator
545 could create names that are, for example, made up entirely of punctuation
546 symbols. It is now deprecated to make names that don\*(Aqt begin with an
547 alphabetic character, and aren\*(Aqt alphanumeric or contain other than
548 a very few other characters, namely spaces, dashes, parentheses
549 and colons. Because of the added meaning of \f(CW\*(C`\eN\*(C'\fR (See \f(CW\*(C`"\eN"
550 experimental regex escape\*(C'\fR), names that look like curly brace \-enclosed
551 quantifiers won\*(Aqt work. For example, \f(CW\*(C`\eN{3,4}\*(C'\fR now means to match 3 to
552 4 non\-newlines; before a custom name \f(CW\*(C`3,4\*(C'\fR could have been created.
553 .IP "Deprecated Modules" 4
554 .IX Item "Deprecated Modules"
555 The following modules will be removed from the core distribution in a
556 future release, and should be installed from CPAN instead. Distributions
557 on CPAN which require these should add them to their prerequisites. The
558 core versions of these modules warnings will issue a deprecation warning.
559 .Sp
560 If you ship a packaged version of Perl, either alone or as part of a
561 larger system, then you should carefully consider the repercussions of
562 core module deprecations. You may want to consider shipping your default
563 build of Perl with packages for some or all deprecated modules which
564 install into \f(CW\*(C`vendor\*(C'\fR or \f(CW\*(C`site\*(C'\fR perl library directories. This will
565 inhibit the deprecation warnings.
566 .Sp
567 Alternatively, you may want to consider patching \fIlib/deprecate.pm\fR
568 to provide deprecation warnings specific to your packaging system
569 or distribution of Perl, consistent with how your packaging system
570 or distribution manages a staged transition from a release where the
571 installation of a single package provides the given functionality, to
572 a later release where the system administrator needs to know to install
573 multiple packages to get that same functionality.
574 .Sp
575 You can silence these deprecation warnings by installing the modules
576 in question from CPAN. To install the latest version of all of them,
577 just install \f(CW\*(C`Task::Deprecations::5_12\*(C'\fR.
578 .RS 4
579 .IP Class::ISA 4
580 .IX Item "Class::ISA"
581 .PD 0
582 .IP Pod::Plainer 4
583 .IX Item "Pod::Plainer"
584 .IP Shell 4
585 .IX Item "Shell"
586 .IP Switch 4
587 .IX Item "Switch"
588 .PD
589 Switch is buggy and should be avoided. You may find Perl\*(Aqs new
590 \&\f(CW\*(C`given\*(C'\fR/\f(CW\*(C`when\*(C'\fR feature a suitable replacement. See "Switch
591 statements" in perlsyn for more information.
592 .RE
593 .RS 4
594 .RE
595 .IP "Assignment to $[" 4
596 .IX Item "Assignment to $["
597 .PD 0
598 .IP "Use of the attribute :locked on subroutines" 4
599 .IX Item "Use of the attribute :locked on subroutines"
600 .IP "Use of ""locked"" with the attributes pragma" 4
601 .IX Item "Use of ""locked"" with the attributes pragma"
602 .IP "Use of ""unique"" with the attributes pragma" 4
603 .IX Item "Use of ""unique"" with the attributes pragma"
604 .IP Perl_pmflag 4
605 .IX Item "Perl_pmflag"
606 .PD
607 \&\f(CW\*(C`Perl_pmflag\*(C'\fR is no longer part of Perl\*(Aqs public API. Calling it now
608 generates a deprecation warning, and it will be removed in a future
609 release. Although listed as part of the API, it was never documented,
610 and only ever used in \fItoke.c\fR, and prior to 5.10, \fIregcomp.c\fR. In
611 core, it has been replaced by a static function.
612 .IP "Numerous Perl 4\-era libraries" 4
613 .IX Item "Numerous Perl 4-era libraries"
614 \&\fItermcap.pl\fR, \fItainted.pl\fR, \fIstat.pl\fR, \fIshellwords.pl\fR, \fIpwd.pl\fR,
615 \&\fIopen3.pl\fR, \fIopen2.pl\fR, \fInewgetopt.pl\fR, \fIlook.pl\fR, \fIfind.pl\fR,
616 \&\fIfinddepth.pl\fR, \fIimportenv.pl\fR, \fIhostname.pl\fR, \fIgetopts.pl\fR,
617 \&\fIgetopt.pl\fR, \fIgetcwd.pl\fR, \fIflush.pl\fR, \fIfastcwd.pl\fR, \fIexceptions.pl\fR,
618 \&\fIctime.pl\fR, \fIcomplete.pl\fR, \fIcacheout.pl\fR, \fIbigrat.pl\fR, \fIbigint.pl\fR,
619 \&\fIbigfloat.pl\fR, \fIassert.pl\fR, \fIabbrev.pl\fR, \fIdotsh.pl\fR, and
620 \&\fItimelocal.pl\fR are all now deprecated. Earlier, Perl\*(Aqs developers
621 intended to remove these libraries from Perl\*(Aqs core for the 5.14.0 release.
622 .Sp
623 During final testing before the release of 5.12.0, several developers
624 discovered current production code using these ancient libraries, some
625 inside the Perl core itself. Accordingly, the pumpking granted them
626 a stay of execution. They will begin to warn about their deprecation
627 in the 5.14.0 release and will be removed in the 5.16.0 release.
628 .SH "Unicode overhaul"
629 .IX Header "Unicode overhaul"
630 Perl\*(Aqs developers have made a concerted effort to update Perl to be in
631 sync with the latest Unicode standard. Changes for this include:
632 .PP
633 Perl can now handle every Unicode character property. New documentation,
634 perluniprops, lists all available non\-Unihan character properties. By
635 default, perl does not expose Unihan, deprecated or Unicode\-internal
636 properties. See below for more details on these; there is also a section
637 in the pod listing them, and explaining why they are not exposed.
638 .PP
639 Perl now fully supports the Unicode compound\-style of using \f(CW\*(C`=\*(C'\fR
640 and \f(CW\*(C`:\*(C'\fR in writing regular expressions: \f(CW\*(C`\ep{property=value}\*(C'\fR and
641 \&\f(CW\*(C`\ep{property:value}\*(C'\fR (both of which mean the same thing).
642 .PP
643 Perl now fully supports the Unicode loose matching rules for text between
644 the braces in \f(CW\*(C`\ep{...}\*(C'\fR constructs. In addition, Perl allows underscores
645 between digits of numbers.
646 .PP
647 Perl now accepts all the Unicode\-defined synonyms for properties and
648 property values.
649 .PP
650 \&\f(CW\*(C`qr/\eX/\*(C'\fR, which matches a Unicode logical character, has
651 been expanded to work better with various Asian languages. It
652 now is defined as an \fIextended grapheme cluster\fR. (See
653 <http://www.unicode.org/reports/tr29/>). Anything matched previously
654 and that made sense will continue to be accepted. Additionally:
655 .IP \(bu 4
656 \&\f(CW\*(C`\eX\*(C'\fR will not break apart a \f(CW\*(C`CR\ LF\*(C'\fR sequence.
657 .IP \(bu 4
658 \&\f(CW\*(C`\eX\*(C'\fR will now match a sequence which includes the \f(CW\*(C`ZWJ\*(C'\fR and \f(CW\*(C`ZWNJ\*(C'\fR
659 characters.
660 .IP \(bu 4
661 \&\f(CW\*(C`\eX\*(C'\fR will now always match at least one character, including an initial
662 mark. Marks generally come after a base character, but it is possible in
663 Unicode to have them in isolation, and \f(CW\*(C`\eX\*(C'\fR will now handle that case,
664 for example at the beginning of a line, or after a \f(CW\*(C`ZWSP\*(C'\fR. And this is
665 the part where \f(CW\*(C`\eX\*(C'\fR doesn\*(Aqt match the things that it used to that don\*(Aqt
666 make sense. Formerly, for example, you could have the nonsensical case
667 of an accented LF.
668 .IP \(bu 4
669 \&\f(CW\*(C`\eX\*(C'\fR will now match a (Korean) Hangul syllable sequence, and the Thai
670 and Lao exception cases.
671 .PP
672 Otherwise, this change should be transparent for the non\-affected
673 languages.
674 .PP
675 \&\f(CW\*(C`\ep{...}\*(C'\fR matches using the Canonical_Combining_Class property were
676 completely broken in previous releases of Perl. They should now work
677 correctly.
678 .PP
679 Before Perl 5.12, the Unicode \f(CW\*(C`Decomposition_Type=Compat\*(C'\fR property
680 and a Perl extension had the same name, which led to neither matching
681 all the correct values (with more than 100 mistakes in one, and several
682 thousand in the other). The Perl extension has now been renamed to be
683 \&\f(CW\*(C`Decomposition_Type=Noncanonical\*(C'\fR (short: \f(CW\*(C`dt=noncanon\*(C'\fR). It has the
684 same meaning as was previously intended, namely the union of all the
685 non\-canonical Decomposition types, with Unicode \f(CW\*(C`Compat\*(C'\fR being just
686 one of those.
687 .PP
688 \&\f(CW\*(C`\ep{Decomposition_Type=Canonical}\*(C'\fR now includes the Hangul syllables.
689 .PP
690 \&\f(CW\*(C`\ep{Uppercase}\*(C'\fR and \f(CW\*(C`\ep{Lowercase}\*(C'\fR now work as the Unicode standard
691 says they should. This means they each match a few more characters than
692 they used to.
693 .PP
694 \&\f(CW\*(C`\ep{Cntrl}\*(C'\fR now matches the same characters as \f(CW\*(C`\ep{Control}\*(C'\fR. This
695 means it no longer will match Private Use (gc=co), Surrogates (gc=cs),
696 nor Format (gc=cf) code points. The Format code points represent the
697 biggest possible problem. All but 36 of them are either officially
698 deprecated or strongly discouraged from being used. Of those 36, likely
699 the most widely used are the soft hyphen (U+00AD), and BOM, ZWSP, ZWNJ,
700 WJ, and similar characters, plus bidirectional controls.
701 .PP
702 \&\f(CW\*(C`\ep{Alpha}\*(C'\fR now matches the same characters as \f(CW\*(C`\ep{Alphabetic}\*(C'\fR. Before
703 5.12, Perl\*(Aqs definition included a number of things that aren\*(Aqt
704 really alpha (all marks) while omitting many that were. The definitions
705 of \f(CW\*(C`\ep{Alnum}\*(C'\fR and \f(CW\*(C`\ep{Word}\*(C'\fR depend on Alpha\*(Aqs definition and have
706 changed accordingly.
707 .PP
708 \&\f(CW\*(C`\ep{Word}\*(C'\fR no longer incorrectly matches non\-word characters such
709 as fractions.
710 .PP
711 \&\f(CW\*(C`\ep{Print}\*(C'\fR no longer matches the line control characters: Tab, LF,
712 CR, FF, VT, and NEL. This brings it in line with standards and the
713 documentation.
714 .PP
715 \&\f(CW\*(C`\ep{XDigit}\*(C'\fR now matches the same characters as \f(CW\*(C`\ep{Hex_Digit}\*(C'\fR. This
716 means that in addition to the characters it currently matches,
717 \&\f(CW\*(C`[A\-Fa\-f0\-9]\*(C'\fR, it will also match the 22 fullwidth equivalents, for
718 example U+FF10: FULLWIDTH DIGIT ZERO.
719 .PP
720 The Numeric type property has been extended to include the Unihan
721 characters.
722 .PP
723 There is a new Perl extension, the \*(AqPresent_In\*(Aq, or simply \*(AqIn\*(Aq,
724 property. This is an extension of the Unicode Age property, but
725 \&\f(CW\*(C`\ep{In=5.0}\*(C'\fR matches any code point whose usage has been determined
726 \&\fIas of\fR Unicode version 5.0. The \f(CW\*(C`\ep{Age=5.0}\*(C'\fR only matches code points
727 added in \fIprecisely\fR version 5.0.
728 .PP
729 A number of properties now have the correct values for unassigned
730 code points. The affected properties are Bidi_Class, East_Asian_Width,
731 Joining_Type, Decomposition_Type, Hangul_Syllable_Type, Numeric_Type,
732 and Line_Break.
733 .PP
734 The Default_Ignorable_Code_Point, ID_Continue, and ID_Start properties
735 are now up to date with current Unicode definitions.
736 .PP
737 Earlier versions of Perl erroneously exposed certain properties that
738 are supposed to be Unicode internal\-only. Use of these in regular
739 expressions will now generate, if enabled, a deprecation warning message.
740 The properties are: Other_Alphabetic, Other_Default_Ignorable_Code_Point,
741 Other_Grapheme_Extend, Other_ID_Continue, Other_ID_Start, Other_Lowercase,
742 Other_Math, and Other_Uppercase.
743 .PP
744 It is now possible to change which Unicode properties Perl understands
745 on a per\-installation basis. As mentioned above, certain properties
746 are turned off by default. These include all the Unihan properties
747 (which should be accessible via the CPAN module Unicode::Unihan) and any
748 deprecated or Unicode internal\-only property that Perl has never exposed.
749 .PP
750 The generated files in the \f(CW\*(C`lib/unicore/To\*(C'\fR directory are now more
751 clearly marked as being stable, directly usable by applications. New hash
752 entries in them give the format of the normal entries, which allows for
753 easier machine parsing. Perl can generate files in this directory for
754 any property, though most are suppressed. You can find instructions
755 for changing which are written in perluniprops.
756 .SH "Modules and Pragmata"
757 .IX Header "Modules and Pragmata"
758 .SS "New Modules and Pragmata"
759 .IX Subsection "New Modules and Pragmata"
760 .ie n .IP """autodie""" 4
761 .el .IP \f(CWautodie\fR 4
762 .IX Item "autodie"
763 \&\f(CW\*(C`autodie\*(C'\fR is a new lexically\-scoped alternative for the \f(CW\*(C`Fatal\*(C'\fR module.
764 The bundled version is 2.06_01. Note that in this release, using a string
765 eval when \f(CW\*(C`autodie\*(C'\fR is in effect can cause the autodie behaviour to leak
766 into the surrounding scope. See "BUGS" in autodie for more details.
767 .Sp
768 Version 2.06_01 has been added to the Perl core.
769 .ie n .IP """Compress::Raw::Bzip2""" 4
770 .el .IP \f(CWCompress::Raw::Bzip2\fR 4
771 .IX Item "Compress::Raw::Bzip2"
772 Version 2.024 has been added to the Perl core.
773 .ie n .IP """overloading""" 4
774 .el .IP \f(CWoverloading\fR 4
775 .IX Item "overloading"
776 \&\f(CW\*(C`overloading\*(C'\fR allows you to lexically disable or enable overloading
777 for some or all operations.
778 .Sp
779 Version 0.001 has been added to the Perl core.
780 .ie n .IP """parent""" 4
781 .el .IP \f(CWparent\fR 4
782 .IX Item "parent"
783 \&\f(CW\*(C`parent\*(C'\fR establishes an ISA relationship with base classes at compile
784 time. It provides the key feature of \f(CW\*(C`base\*(C'\fR without further unwanted
785 behaviors.
786 .Sp
787 Version 0.223 has been added to the Perl core.
788 .ie n .IP """Parse::CPAN::Meta""" 4
789 .el .IP \f(CWParse::CPAN::Meta\fR 4
790 .IX Item "Parse::CPAN::Meta"
791 Version 1.40 has been added to the Perl core.
792 .ie n .IP """VMS::DCLsym""" 4
793 .el .IP \f(CWVMS::DCLsym\fR 4
794 .IX Item "VMS::DCLsym"
795 Version 1.03 has been added to the Perl core.
796 .ie n .IP """VMS::Stdio""" 4
797 .el .IP \f(CWVMS::Stdio\fR 4
798 .IX Item "VMS::Stdio"
799 Version 2.4 has been added to the Perl core.
800 .ie n .IP """XS::APItest::KeywordRPN""" 4
801 .el .IP \f(CWXS::APItest::KeywordRPN\fR 4
802 .IX Item "XS::APItest::KeywordRPN"
803 Version 0.003 has been added to the Perl core.
804 .SS "Updated Pragmata"
805 .IX Subsection "Updated Pragmata"
806 .ie n .IP """base""" 4
807 .el .IP \f(CWbase\fR 4
808 .IX Item "base"
809 Upgraded from version 2.13 to 2.15.
810 .ie n .IP """bignum""" 4
811 .el .IP \f(CWbignum\fR 4
812 .IX Item "bignum"
813 Upgraded from version 0.22 to 0.23.
814 .ie n .IP """charnames""" 4
815 .el .IP \f(CWcharnames\fR 4
816 .IX Item "charnames"
817 \&\f(CW\*(C`charnames\*(C'\fR now contains the Unicode \fINameAliases.txt\fR database file.
818 This has the effect of adding some extra \f(CW\*(C`\eN\*(C'\fR character names that
819 formerly wouldn\*(Aqt have been recognised; for example, \f(CW"\eN{LATIN CAPITAL
820 LETTER GHA}"\fR.
821 .Sp
822 Upgraded from version 1.06 to 1.07.
823 .ie n .IP """constant""" 4
824 .el .IP \f(CWconstant\fR 4
825 .IX Item "constant"
826 Upgraded from version 1.13 to 1.20.
827 .ie n .IP """diagnostics""" 4
828 .el .IP \f(CWdiagnostics\fR 4
829 .IX Item "diagnostics"
830 \&\f(CW\*(C`diagnostics\*(C'\fR now supports %.0f formatting internally.
831 .Sp
832 \&\f(CW\*(C`diagnostics\*(C'\fR no longer suppresses \f(CW\*(C`Use of uninitialized value in range
833 (or flip)\*(C'\fR warnings. [perl #71204]
834 .Sp
835 Upgraded from version 1.17 to 1.19.
836 .ie n .IP """feature""" 4
837 .el .IP \f(CWfeature\fR 4
838 .IX Item "feature"
839 In \f(CW\*(C`feature\*(C'\fR, the meaning of the \f(CW\*(C`:5.10\*(C'\fR and \f(CW\*(C`:5.10.X\*(C'\fR feature
840 bundles has changed slightly. The last component, if any (i.e. \f(CW\*(C`X\*(C'\fR) is
841 simply ignored. This is predicated on the assumption that new features
842 will not, in general, be added to maintenance releases. So \f(CW\*(C`:5.10\*(C'\fR
843 and \f(CW\*(C`:5.10.X\*(C'\fR have identical effect. This is a change to the behaviour
844 documented for 5.10.0.
845 .Sp
846 \&\f(CW\*(C`feature\*(C'\fR now includes the \f(CW\*(C`unicode_strings\*(C'\fR feature:
847 .Sp
848 .Vb 1
849 \& use feature "unicode_strings";
850 .Ve
851 .Sp
852 This pragma turns on Unicode semantics for the case\-changing operations
853 (\f(CW\*(C`uc\*(C'\fR, \f(CW\*(C`lc\*(C'\fR, \f(CW\*(C`ucfirst\*(C'\fR, \f(CW\*(C`lcfirst\*(C'\fR) on strings that don\*(Aqt have the
854 internal UTF\-8 flag set, but that contain single\-byte characters between
855 128 and 255.
856 .Sp
857 Upgraded from version 1.11 to 1.16.
858 .ie n .IP """less""" 4
859 .el .IP \f(CWless\fR 4
860 .IX Item "less"
861 \&\f(CW\*(C`less\*(C'\fR now includes the \f(CW\*(C`stash_name\*(C'\fR method to allow subclasses of
862 \&\f(CW\*(C`less\*(C'\fR to pick where in %^H to store their stash.
863 .Sp
864 Upgraded from version 0.02 to 0.03.
865 .ie n .IP """lib""" 4
866 .el .IP \f(CWlib\fR 4
867 .IX Item "lib"
868 Upgraded from version 0.5565 to 0.62.
869 .ie n .IP """mro""" 4
870 .el .IP \f(CWmro\fR 4
871 .IX Item "mro"
872 \&\f(CW\*(C`mro\*(C'\fR is now implemented as an XS extension. The documented interface has
873 not changed. Code relying on the implementation detail that some \f(CW\*(C`mro::\*(C'\fR
874 methods happened to be available at all times gets to "keep both pieces".
875 .Sp
876 Upgraded from version 1.00 to 1.02.
877 .ie n .IP """overload""" 4
878 .el .IP \f(CWoverload\fR 4
879 .IX Item "overload"
880 \&\f(CW\*(C`overload\*(C'\fR now allow overloading of \*(Aqqr\*(Aq.
881 .Sp
882 Upgraded from version 1.06 to 1.10.
883 .ie n .IP """threads""" 4
884 .el .IP \f(CWthreads\fR 4
885 .IX Item "threads"
886 Upgraded from version 1.67 to 1.75.
887 .ie n .IP """threads::shared""" 4
888 .el .IP \f(CWthreads::shared\fR 4
889 .IX Item "threads::shared"
890 Upgraded from version 1.14 to 1.32.
891 .ie n .IP """version""" 4
892 .el .IP \f(CWversion\fR 4
893 .IX Item "version"
894 \&\f(CW\*(C`version\*(C'\fR now has support for "Version number formats" as described
895 earlier in this document and in its own documentation.
896 .Sp
897 Upgraded from version 0.74 to 0.82.
898 .ie n .IP """warnings""" 4
899 .el .IP \f(CWwarnings\fR 4
900 .IX Item "warnings"
901 \&\f(CW\*(C`warnings\*(C'\fR has a new \f(CWwarnings::fatal_enabled()\fR function. It also
902 includes a new \f(CW\*(C`illegalproto\*(C'\fR warning category. See also "New or
903 Changed Diagnostics" for this change.
904 .Sp
905 Upgraded from version 1.06 to 1.09.
906 .SS "Updated Modules"
907 .IX Subsection "Updated Modules"
908 .ie n .IP """Archive::Extract""" 4
909 .el .IP \f(CWArchive::Extract\fR 4
910 .IX Item "Archive::Extract"
911 Upgraded from version 0.24 to 0.38.
912 .ie n .IP """Archive::Tar""" 4
913 .el .IP \f(CWArchive::Tar\fR 4
914 .IX Item "Archive::Tar"
915 Upgraded from version 1.38 to 1.54.
916 .ie n .IP """Attribute::Handlers""" 4
917 .el .IP \f(CWAttribute::Handlers\fR 4
918 .IX Item "Attribute::Handlers"
919 Upgraded from version 0.79 to 0.87.
920 .ie n .IP """AutoLoader""" 4
921 .el .IP \f(CWAutoLoader\fR 4
922 .IX Item "AutoLoader"
923 Upgraded from version 5.63 to 5.70.
924 .ie n .IP """B::Concise""" 4
925 .el .IP \f(CWB::Concise\fR 4
926 .IX Item "B::Concise"
927 Upgraded from version 0.74 to 0.78.
928 .ie n .IP """B::Debug""" 4
929 .el .IP \f(CWB::Debug\fR 4
930 .IX Item "B::Debug"
931 Upgraded from version 1.05 to 1.12.
932 .ie n .IP """B::Deparse""" 4
933 .el .IP \f(CWB::Deparse\fR 4
934 .IX Item "B::Deparse"
935 Upgraded from version 0.83 to 0.96.
936 .ie n .IP """B::Lint""" 4
937 .el .IP \f(CWB::Lint\fR 4
938 .IX Item "B::Lint"
939 Upgraded from version 1.09 to 1.11_01.
940 .ie n .IP """CGI""" 4
941 .el .IP \f(CWCGI\fR 4
942 .IX Item "CGI"
943 Upgraded from version 3.29 to 3.48.
944 .ie n .IP """Class::ISA""" 4
945 .el .IP \f(CWClass::ISA\fR 4
946 .IX Item "Class::ISA"
947 Upgraded from version 0.33 to 0.36.
948 .Sp
949 NOTE: \f(CW\*(C`Class::ISA\*(C'\fR is deprecated and may be removed from a future
950 version of Perl.
951 .ie n .IP """Compress::Raw::Zlib""" 4
952 .el .IP \f(CWCompress::Raw::Zlib\fR 4
953 .IX Item "Compress::Raw::Zlib"
954 Upgraded from version 2.008 to 2.024.
955 .ie n .IP """CPAN""" 4
956 .el .IP \f(CWCPAN\fR 4
957 .IX Item "CPAN"
958 Upgraded from version 1.9205 to 1.94_56.
959 .ie n .IP """CPANPLUS""" 4
960 .el .IP \f(CWCPANPLUS\fR 4
961 .IX Item "CPANPLUS"
962 Upgraded from version 0.84 to 0.90.
963 .ie n .IP """CPANPLUS::Dist::Build""" 4
964 .el .IP \f(CWCPANPLUS::Dist::Build\fR 4
965 .IX Item "CPANPLUS::Dist::Build"
966 Upgraded from version 0.06_02 to 0.46.
967 .ie n .IP """Data::Dumper""" 4
968 .el .IP \f(CWData::Dumper\fR 4
969 .IX Item "Data::Dumper"
970 Upgraded from version 2.121_14 to 2.125.
971 .ie n .IP """DB_File""" 4
972 .el .IP \f(CWDB_File\fR 4
973 .IX Item "DB_File"
974 Upgraded from version 1.816_1 to 1.820.
975 .ie n .IP """Devel::PPPort""" 4
976 .el .IP \f(CWDevel::PPPort\fR 4
977 .IX Item "Devel::PPPort"
978 Upgraded from version 3.13 to 3.19.
979 .ie n .IP """Digest""" 4
980 .el .IP \f(CWDigest\fR 4
981 .IX Item "Digest"
982 Upgraded from version 1.15 to 1.16.
983 .ie n .IP """Digest::MD5""" 4
984 .el .IP \f(CWDigest::MD5\fR 4
985 .IX Item "Digest::MD5"
986 Upgraded from version 2.36_01 to 2.39.
987 .ie n .IP """Digest::SHA""" 4
988 .el .IP \f(CWDigest::SHA\fR 4
989 .IX Item "Digest::SHA"
990 Upgraded from version 5.45 to 5.47.
991 .ie n .IP """Encode""" 4
992 .el .IP \f(CWEncode\fR 4
993 .IX Item "Encode"
994 Upgraded from version 2.23 to 2.39.
995 .ie n .IP """Exporter""" 4
996 .el .IP \f(CWExporter\fR 4
997 .IX Item "Exporter"
998 Upgraded from version 5.62 to 5.64_01.
999 .ie n .IP """ExtUtils::CBuilder""" 4
1000 .el .IP \f(CWExtUtils::CBuilder\fR 4
1001 .IX Item "ExtUtils::CBuilder"
1002 Upgraded from version 0.21 to 0.27.
1003 .ie n .IP """ExtUtils::Command""" 4
1004 .el .IP \f(CWExtUtils::Command\fR 4
1005 .IX Item "ExtUtils::Command"
1006 Upgraded from version 1.13 to 1.16.
1007 .ie n .IP """ExtUtils::Constant""" 4
1008 .el .IP \f(CWExtUtils::Constant\fR 4
1009 .IX Item "ExtUtils::Constant"
1010 Upgraded from version 0.2 to 0.22.
1011 .ie n .IP """ExtUtils::Install""" 4
1012 .el .IP \f(CWExtUtils::Install\fR 4
1013 .IX Item "ExtUtils::Install"
1014 Upgraded from version 1.44 to 1.55.
1015 .ie n .IP """ExtUtils::MakeMaker""" 4
1016 .el .IP \f(CWExtUtils::MakeMaker\fR 4
1017 .IX Item "ExtUtils::MakeMaker"
1018 Upgraded from version 6.42 to 6.56.
1019 .ie n .IP """ExtUtils::Manifest""" 4
1020 .el .IP \f(CWExtUtils::Manifest\fR 4
1021 .IX Item "ExtUtils::Manifest"
1022 Upgraded from version 1.51_01 to 1.57.
1023 .ie n .IP """ExtUtils::ParseXS""" 4
1024 .el .IP \f(CWExtUtils::ParseXS\fR 4
1025 .IX Item "ExtUtils::ParseXS"
1026 Upgraded from version 2.18_02 to 2.21.
1027 .ie n .IP """File::Fetch""" 4
1028 .el .IP \f(CWFile::Fetch\fR 4
1029 .IX Item "File::Fetch"
1030 Upgraded from version 0.14 to 0.24.
1031 .ie n .IP """File::Path""" 4
1032 .el .IP \f(CWFile::Path\fR 4
1033 .IX Item "File::Path"
1034 Upgraded from version 2.04 to 2.08_01.
1035 .ie n .IP """File::Temp""" 4
1036 .el .IP \f(CWFile::Temp\fR 4
1037 .IX Item "File::Temp"
1038 Upgraded from version 0.18 to 0.22.
1039 .ie n .IP """Filter::Simple""" 4
1040 .el .IP \f(CWFilter::Simple\fR 4
1041 .IX Item "Filter::Simple"
1042 Upgraded from version 0.82 to 0.84.
1043 .ie n .IP """Filter::Util::Call""" 4
1044 .el .IP \f(CWFilter::Util::Call\fR 4
1045 .IX Item "Filter::Util::Call"
1046 Upgraded from version 1.07 to 1.08.
1047 .ie n .IP """Getopt::Long""" 4
1048 .el .IP \f(CWGetopt::Long\fR 4
1049 .IX Item "Getopt::Long"
1050 Upgraded from version 2.37 to 2.38.
1051 .ie n .IP """IO""" 4
1052 .el .IP \f(CWIO\fR 4
1053 .IX Item "IO"
1054 Upgraded from version 1.23_01 to 1.25_02.
1055 .ie n .IP """IO::Zlib""" 4
1056 .el .IP \f(CWIO::Zlib\fR 4
1057 .IX Item "IO::Zlib"
1058 Upgraded from version 1.07 to 1.10.
1059 .ie n .IP """IPC::Cmd""" 4
1060 .el .IP \f(CWIPC::Cmd\fR 4
1061 .IX Item "IPC::Cmd"
1062 Upgraded from version 0.40_1 to 0.54.
1063 .ie n .IP """IPC::SysV""" 4
1064 .el .IP \f(CWIPC::SysV\fR 4
1065 .IX Item "IPC::SysV"
1066 Upgraded from version 1.05 to 2.01.
1067 .ie n .IP """Locale::Maketext""" 4
1068 .el .IP \f(CWLocale::Maketext\fR 4
1069 .IX Item "Locale::Maketext"
1070 Upgraded from version 1.12 to 1.14.
1071 .ie n .IP """Locale::Maketext::Simple""" 4
1072 .el .IP \f(CWLocale::Maketext::Simple\fR 4
1073 .IX Item "Locale::Maketext::Simple"
1074 Upgraded from version 0.18 to 0.21.
1075 .ie n .IP """Log::Message""" 4
1076 .el .IP \f(CWLog::Message\fR 4
1077 .IX Item "Log::Message"
1078 Upgraded from version 0.01 to 0.02.
1079 .ie n .IP """Log::Message::Simple""" 4
1080 .el .IP \f(CWLog::Message::Simple\fR 4
1081 .IX Item "Log::Message::Simple"
1082 Upgraded from version 0.04 to 0.06.
1083 .ie n .IP """Math::BigInt""" 4
1084 .el .IP \f(CWMath::BigInt\fR 4
1085 .IX Item "Math::BigInt"
1086 Upgraded from version 1.88 to 1.89_01.
1087 .ie n .IP """Math::BigInt::FastCalc""" 4
1088 .el .IP \f(CWMath::BigInt::FastCalc\fR 4
1089 .IX Item "Math::BigInt::FastCalc"
1090 Upgraded from version 0.16 to 0.19.
1091 .ie n .IP """Math::BigRat""" 4
1092 .el .IP \f(CWMath::BigRat\fR 4
1093 .IX Item "Math::BigRat"
1094 Upgraded from version 0.21 to 0.24.
1095 .ie n .IP """Math::Complex""" 4
1096 .el .IP \f(CWMath::Complex\fR 4
1097 .IX Item "Math::Complex"
1098 Upgraded from version 1.37 to 1.56.
1099 .ie n .IP """Memoize""" 4
1100 .el .IP \f(CWMemoize\fR 4
1101 .IX Item "Memoize"
1102 Upgraded from version 1.01_02 to 1.01_03.
1103 .ie n .IP """MIME::Base64""" 4
1104 .el .IP \f(CWMIME::Base64\fR 4
1105 .IX Item "MIME::Base64"
1106 Upgraded from version 3.07_01 to 3.08.
1107 .ie n .IP """Module::Build""" 4
1108 .el .IP \f(CWModule::Build\fR 4
1109 .IX Item "Module::Build"
1110 Upgraded from version 0.2808_01 to 0.3603.
1111 .ie n .IP """Module::CoreList""" 4
1112 .el .IP \f(CWModule::CoreList\fR 4
1113 .IX Item "Module::CoreList"
1114 Upgraded from version 2.12 to 2.29.
1115 .ie n .IP """Module::Load""" 4
1116 .el .IP \f(CWModule::Load\fR 4
1117 .IX Item "Module::Load"
1118 Upgraded from version 0.12 to 0.16.
1119 .ie n .IP """Module::Load::Conditional""" 4
1120 .el .IP \f(CWModule::Load::Conditional\fR 4
1121 .IX Item "Module::Load::Conditional"
1122 Upgraded from version 0.22 to 0.34.
1123 .ie n .IP """Module::Loaded""" 4
1124 .el .IP \f(CWModule::Loaded\fR 4
1125 .IX Item "Module::Loaded"
1126 Upgraded from version 0.01 to 0.06.
1127 .ie n .IP """Module::Pluggable""" 4
1128 .el .IP \f(CWModule::Pluggable\fR 4
1129 .IX Item "Module::Pluggable"
1130 Upgraded from version 3.6 to 3.9.
1131 .ie n .IP """Net::Ping""" 4
1132 .el .IP \f(CWNet::Ping\fR 4
1133 .IX Item "Net::Ping"
1134 Upgraded from version 2.33 to 2.36.
1135 .ie n .IP """NEXT""" 4
1136 .el .IP \f(CWNEXT\fR 4
1137 .IX Item "NEXT"
1138 Upgraded from version 0.60_01 to 0.64.
1139 .ie n .IP """Object::Accessor""" 4
1140 .el .IP \f(CWObject::Accessor\fR 4
1141 .IX Item "Object::Accessor"
1142 Upgraded from version 0.32 to 0.36.
1143 .ie n .IP """Package::Constants""" 4
1144 .el .IP \f(CWPackage::Constants\fR 4
1145 .IX Item "Package::Constants"
1146 Upgraded from version 0.01 to 0.02.
1147 .ie n .IP """PerlIO""" 4
1148 .el .IP \f(CWPerlIO\fR 4
1149 .IX Item "PerlIO"
1150 Upgraded from version 1.04 to 1.06.
1151 .ie n .IP """Pod::Parser""" 4
1152 .el .IP \f(CWPod::Parser\fR 4
1153 .IX Item "Pod::Parser"
1154 Upgraded from version 1.35 to 1.37.
1155 .ie n .IP """Pod::Perldoc""" 4
1156 .el .IP \f(CWPod::Perldoc\fR 4
1157 .IX Item "Pod::Perldoc"
1158 Upgraded from version 3.14_02 to 3.15_02.
1159 .ie n .IP """Pod::Plainer""" 4
1160 .el .IP \f(CWPod::Plainer\fR 4
1161 .IX Item "Pod::Plainer"
1162 Upgraded from version 0.01 to 1.02.
1163 .Sp
1164 NOTE: \f(CW\*(C`Pod::Plainer\*(C'\fR is deprecated and may be removed from a future
1165 version of Perl.
1166 .ie n .IP """Pod::Simple""" 4
1167 .el .IP \f(CWPod::Simple\fR 4
1168 .IX Item "Pod::Simple"
1169 Upgraded from version 3.05 to 3.13.
1170 .ie n .IP """Safe""" 4
1171 .el .IP \f(CWSafe\fR 4
1172 .IX Item "Safe"
1173 Upgraded from version 2.12 to 2.22.
1174 .ie n .IP """SelfLoader""" 4
1175 .el .IP \f(CWSelfLoader\fR 4
1176 .IX Item "SelfLoader"
1177 Upgraded from version 1.11 to 1.17.
1178 .ie n .IP """Storable""" 4
1179 .el .IP \f(CWStorable\fR 4
1180 .IX Item "Storable"
1181 Upgraded from version 2.18 to 2.22.
1182 .ie n .IP """Switch""" 4
1183 .el .IP \f(CWSwitch\fR 4
1184 .IX Item "Switch"
1185 Upgraded from version 2.13 to 2.16.
1186 .Sp
1187 NOTE: \f(CW\*(C`Switch\*(C'\fR is deprecated and may be removed from a future version
1188 of Perl.
1189 .ie n .IP """Sys::Syslog""" 4
1190 .el .IP \f(CWSys::Syslog\fR 4
1191 .IX Item "Sys::Syslog"
1192 Upgraded from version 0.22 to 0.27.
1193 .ie n .IP """Term::ANSIColor""" 4
1194 .el .IP \f(CWTerm::ANSIColor\fR 4
1195 .IX Item "Term::ANSIColor"
1196 Upgraded from version 1.12 to 2.02.
1197 .ie n .IP """Term::UI""" 4
1198 .el .IP \f(CWTerm::UI\fR 4
1199 .IX Item "Term::UI"
1200 Upgraded from version 0.18 to 0.20.
1201 .ie n .IP """Test""" 4
1202 .el .IP \f(CWTest\fR 4
1203 .IX Item "Test"
1204 Upgraded from version 1.25 to 1.25_02.
1205 .ie n .IP """Test::Harness""" 4
1206 .el .IP \f(CWTest::Harness\fR 4
1207 .IX Item "Test::Harness"
1208 Upgraded from version 2.64 to 3.17.
1209 .ie n .IP """Test::Simple""" 4
1210 .el .IP \f(CWTest::Simple\fR 4
1211 .IX Item "Test::Simple"
1212 Upgraded from version 0.72 to 0.94.
1213 .ie n .IP """Text::Balanced""" 4
1214 .el .IP \f(CWText::Balanced\fR 4
1215 .IX Item "Text::Balanced"
1216 Upgraded from version 2.0.0 to 2.02.
1217 .ie n .IP """Text::ParseWords""" 4
1218 .el .IP \f(CWText::ParseWords\fR 4
1219 .IX Item "Text::ParseWords"
1220 Upgraded from version 3.26 to 3.27.
1221 .ie n .IP """Text::Soundex""" 4
1222 .el .IP \f(CWText::Soundex\fR 4
1223 .IX Item "Text::Soundex"
1224 Upgraded from version 3.03 to 3.03_01.
1225 .ie n .IP """Thread::Queue""" 4
1226 .el .IP \f(CWThread::Queue\fR 4
1227 .IX Item "Thread::Queue"
1228 Upgraded from version 2.00 to 2.11.
1229 .ie n .IP """Thread::Semaphore""" 4
1230 .el .IP \f(CWThread::Semaphore\fR 4
1231 .IX Item "Thread::Semaphore"
1232 Upgraded from version 2.01 to 2.09.
1233 .ie n .IP """Tie::RefHash""" 4
1234 .el .IP \f(CWTie::RefHash\fR 4
1235 .IX Item "Tie::RefHash"
1236 Upgraded from version 1.37 to 1.38.
1237 .ie n .IP """Time::HiRes""" 4
1238 .el .IP \f(CWTime::HiRes\fR 4
1239 .IX Item "Time::HiRes"
1240 Upgraded from version 1.9711 to 1.9719.
1241 .ie n .IP """Time::Local""" 4
1242 .el .IP \f(CWTime::Local\fR 4
1243 .IX Item "Time::Local"
1244 Upgraded from version 1.18 to 1.1901_01.
1245 .ie n .IP """Time::Piece""" 4
1246 .el .IP \f(CWTime::Piece\fR 4
1247 .IX Item "Time::Piece"
1248 Upgraded from version 1.12 to 1.15.
1249 .ie n .IP """Unicode::Collate""" 4
1250 .el .IP \f(CWUnicode::Collate\fR 4
1251 .IX Item "Unicode::Collate"
1252 Upgraded from version 0.52 to 0.52_01.
1253 .ie n .IP """Unicode::Normalize""" 4
1254 .el .IP \f(CWUnicode::Normalize\fR 4
1255 .IX Item "Unicode::Normalize"
1256 Upgraded from version 1.02 to 1.03.
1257 .ie n .IP """Win32""" 4
1258 .el .IP \f(CWWin32\fR 4
1259 .IX Item "Win32"
1260 Upgraded from version 0.34 to 0.39.
1261 .ie n .IP """Win32API::File""" 4
1262 .el .IP \f(CWWin32API::File\fR 4
1263 .IX Item "Win32API::File"
1264 Upgraded from version 0.1001_01 to 0.1101.
1265 .ie n .IP """XSLoader""" 4
1266 .el .IP \f(CWXSLoader\fR 4
1267 .IX Item "XSLoader"
1268 Upgraded from version 0.08 to 0.10.
1269 .SS "Removed Modules and Pragmata"
1270 .IX Subsection "Removed Modules and Pragmata"
1271 .ie n .IP """attrs""" 4
1272 .el .IP \f(CWattrs\fR 4
1273 .IX Item "attrs"
1274 Removed from the Perl core. Prior version was 1.02.
1275 .ie n .IP """CPAN::API::HOWTO""" 4
1276 .el .IP \f(CWCPAN::API::HOWTO\fR 4
1277 .IX Item "CPAN::API::HOWTO"
1278 Removed from the Perl core. Prior version was \*(Aqundef\*(Aq.
1279 .ie n .IP """CPAN::DeferedCode""" 4
1280 .el .IP \f(CWCPAN::DeferedCode\fR 4
1281 .IX Item "CPAN::DeferedCode"
1282 Removed from the Perl core. Prior version was 5.50.
1283 .ie n .IP """CPANPLUS::inc""" 4
1284 .el .IP \f(CWCPANPLUS::inc\fR 4
1285 .IX Item "CPANPLUS::inc"
1286 Removed from the Perl core. Prior version was \*(Aqundef\*(Aq.
1287 .ie n .IP """DCLsym""" 4
1288 .el .IP \f(CWDCLsym\fR 4
1289 .IX Item "DCLsym"
1290 Removed from the Perl core. Prior version was 1.03.
1291 .ie n .IP """ExtUtils::MakeMaker::bytes""" 4
1292 .el .IP \f(CWExtUtils::MakeMaker::bytes\fR 4
1293 .IX Item "ExtUtils::MakeMaker::bytes"
1294 Removed from the Perl core. Prior version was 6.42.
1295 .ie n .IP """ExtUtils::MakeMaker::vmsish""" 4
1296 .el .IP \f(CWExtUtils::MakeMaker::vmsish\fR 4
1297 .IX Item "ExtUtils::MakeMaker::vmsish"
1298 Removed from the Perl core. Prior version was 6.42.
1299 .ie n .IP """Stdio""" 4
1300 .el .IP \f(CWStdio\fR 4
1301 .IX Item "Stdio"
1302 Removed from the Perl core. Prior version was 2.3.
1303 .ie n .IP """Test::Harness::Assert""" 4
1304 .el .IP \f(CWTest::Harness::Assert\fR 4
1305 .IX Item "Test::Harness::Assert"
1306 Removed from the Perl core. Prior version was 0.02.
1307 .ie n .IP """Test::Harness::Iterator""" 4
1308 .el .IP \f(CWTest::Harness::Iterator\fR 4
1309 .IX Item "Test::Harness::Iterator"
1310 Removed from the Perl core. Prior version was 0.02.
1311 .ie n .IP """Test::Harness::Point""" 4
1312 .el .IP \f(CWTest::Harness::Point\fR 4
1313 .IX Item "Test::Harness::Point"
1314 Removed from the Perl core. Prior version was 0.01.
1315 .ie n .IP """Test::Harness::Results""" 4
1316 .el .IP \f(CWTest::Harness::Results\fR 4
1317 .IX Item "Test::Harness::Results"
1318 Removed from the Perl core. Prior version was 0.01.
1319 .ie n .IP """Test::Harness::Straps""" 4
1320 .el .IP \f(CWTest::Harness::Straps\fR 4
1321 .IX Item "Test::Harness::Straps"
1322 Removed from the Perl core. Prior version was 0.26_01.
1323 .ie n .IP """Test::Harness::Util""" 4
1324 .el .IP \f(CWTest::Harness::Util\fR 4
1325 .IX Item "Test::Harness::Util"
1326 Removed from the Perl core. Prior version was 0.01.
1327 .ie n .IP """XSSymSet""" 4
1328 .el .IP \f(CWXSSymSet\fR 4
1329 .IX Item "XSSymSet"
1330 Removed from the Perl core. Prior version was 1.1.
1331 .SS "Deprecated Modules and Pragmata"
1332 .IX Subsection "Deprecated Modules and Pragmata"
1333 See "Deprecated Modules" above.
1334 .SH Documentation
1335 .IX Header "Documentation"
1336 .SS "New Documentation"
1337 .IX Subsection "New Documentation"
1338 .IP \(bu 4
1339 perlhaiku contains instructions on how to build perl for the Haiku
1340 platform.
1341 .IP \(bu 4
1342 perlmroapi describes the new interface for pluggable Method Resolution
1343 Orders.
1344 .IP \(bu 4
1345 perlperf, by Richard Foley, provides an introduction to the use of
1346 performance and optimization techniques which can be used with particular
1347 reference to perl programs.
1348 .IP \(bu 4
1349 perlrepository describes how to access the perl source using the \fIgit\fR
1350 version control system.
1351 .IP \(bu 4
1352 perlpolicy extends the "Social contract about contributed modules" into
1353 the beginnings of a document on Perl porting policies.
1354 .SS "Changes to Existing Documentation"
1355 .IX Subsection "Changes to Existing Documentation"
1356 .IP \(bu 4
1357 The various large \fIChanges*\fR files (which listed every change made
1358 to perl over the last 18 years) have been removed, and replaced by a
1359 small file, also called \fIChanges\fR, which just explains how that same
1360 information may be extracted from the git version control system.
1361 .IP \(bu 4
1362 \&\fIPorting/patching.pod\fR has been deleted, as it mainly described
1363 interacting with the old Perforce\-based repository, which is now obsolete.
1364 Information still relevant has been moved to perlrepository.
1365 .IP \(bu 4
1366 The syntax \f(CW\*(C`unless (EXPR) BLOCK else BLOCK\*(C'\fR is now documented as valid,
1367 as is the syntax \f(CW\*(C`unless (EXPR) BLOCK elsif (EXPR) BLOCK ... else
1368 BLOCK\*(C'\fR, although actually using the latter may not be the best idea for
1369 the readability of your source code.
1370 .IP \(bu 4
1371 Documented \-X overloading.
1372 .IP \(bu 4
1373 Documented that \f(CWwhen()\fR treats specially most of the filetest operators
1374 .IP \(bu 4
1375 Documented \f(CW\*(C`when\*(C'\fR as a syntax modifier.
1376 .IP \(bu 4
1377 Eliminated "Old Perl threads tutorial", which described 5005 threads.
1378 .Sp
1379 \&\fIpod/perlthrtut.pod\fR is the same material reworked for ithreads.
1380 .IP \(bu 4
1381 Correct previous documentation: v\-strings are not deprecated
1382 .Sp
1383 With version objects, we need them to use MODULE VERSION syntax. This
1384 patch removes the deprecation notice.
1385 .IP \(bu 4
1386 Security contact information is now part of perlsec.
1387 .IP \(bu 4
1388 A significant fraction of the core documentation has been updated to
1389 clarify the behavior of Perl\*(Aqs Unicode handling.
1390 .Sp
1391 Much of the remaining core documentation has been reviewed and edited
1392 for clarity, consistent use of language, and to fix the spelling of Tom
1393 Christiansen\*(Aqs name.
1394 .IP \(bu 4
1395 The Pod specification (perlpodspec) has been updated to bring the
1396 specification in line with modern usage already supported by most Pod
1397 systems. A parameter string may now follow the format name in a
1398 "begin/end" region. Links to URIs with a text description are now
1399 allowed. The usage of \f(CW\*(C`L<"section">\*(C'\fR has been marked as
1400 deprecated.
1401 .IP \(bu 4
1402 if.pm has been documented in "use" in perlfunc as a means to get
1403 conditional loading of modules despite the implicit BEGIN block around
1404 \&\f(CW\*(C`use\*(C'\fR.
1405 .IP \(bu 4
1406 The documentation for \f(CW$1\fR in perlvar.pod has been clarified.
1407 .IP \(bu 4
1408 \&\f(CW\*(C`\eN{U+\fR\f(CIcode point\fR\f(CW}\*(C'\fR is now documented.
1409 .SH "Selected Performance Enhancements"
1410 .IX Header "Selected Performance Enhancements"
1411 .IP \(bu 4
1412 A new internal cache means that \f(CWisa()\fR will often be faster.
1413 .IP \(bu 4
1414 The implementation of \f(CW\*(C`C3\*(C'\fR Method Resolution Order has been
1415 optimised \- linearisation for classes with single inheritance is 40%
1416 faster. Performance for multiple inheritance is unchanged.
1417 .IP \(bu 4
1418 Under \f(CW\*(C`use locale\*(C'\fR, the locale\-relevant information is now cached on
1419 read\-only values, such as the list returned by \f(CW\*(C`keys %hash\*(C'\fR. This makes
1420 operations such as \f(CW\*(C`sort keys %hash\*(C'\fR in the scope of \f(CW\*(C`use locale\*(C'\fR
1421 much faster.
1422 .IP \(bu 4
1423 Empty \f(CW\*(C`DESTROY\*(C'\fR methods are no longer called.
1424 .IP \(bu 4
1425 \&\f(CWPerl_sv_utf8_upgrade()\fR is now faster.
1426 .IP \(bu 4
1427 \&\f(CW\*(C`keys\*(C'\fR on empty hash is now faster.
1428 .IP \(bu 4
1429 \&\f(CW\*(C`if (%foo)\*(C'\fR has been optimized to be faster than \f(CW\*(C`if (keys %foo)\*(C'\fR.
1430 .IP \(bu 4
1431 The string repetition operator (\f(CW\*(C`$str x $num\*(C'\fR) is now several times
1432 faster when \f(CW$str\fR has length one or \f(CW$num\fR is large.
1433 .IP \(bu 4
1434 Reversing an array to itself (as in \f(CW\*(C`@a = reverse @a\*(C'\fR) in void context
1435 now happens in\-place and is several orders of magnitude faster than
1436 it used to be. It will also preserve non\-existent elements whenever
1437 possible, i.e. for non magical arrays or tied arrays with \f(CW\*(C`EXISTS\*(C'\fR
1438 and \f(CW\*(C`DELETE\*(C'\fR methods.
1439 .SH "Installation and Configuration Improvements"
1440 .IX Header "Installation and Configuration Improvements"
1441 .IP \(bu 4
1442 perlapi, perlintern, perlmodlib and perltoc are now all
1443 generated at build time, rather than being shipped as part of the release.
1444 .IP \(bu 4
1445 If \f(CW\*(C`vendorlib\*(C'\fR and \f(CW\*(C`vendorarch\*(C'\fR are the same, then they are only added
1446 to \f(CW@INC\fR once.
1447 .IP \(bu 4
1448 \&\f(CW$Config{usedevel}\fR and the C\-level \f(CW\*(C`PERL_USE_DEVEL\*(C'\fR are now defined if
1449 perl is built with \f(CW\*(C`\-Dusedevel\*(C'\fR.
1450 .IP \(bu 4
1451 \&\fIConfigure\fR will enable use of \f(CW\*(C`\-fstack\-protector\*(C'\fR, to provide protection
1452 against stack\-smashing attacks, if the compiler supports it.
1453 .IP \(bu 4
1454 \&\fIConfigure\fR will now determine the correct prototypes for re\-entrant
1455 functions and for \f(CW\*(C`gconvert\*(C'\fR if you are using a C++ compiler rather
1456 than a C compiler.
1457 .IP \(bu 4
1458 On Unix, if you build from a tree containing a git repository, the
1459 configuration process will note the commit hash you have checked out, for
1460 display in the output of \f(CW\*(C`perl \-v\*(C'\fR and \f(CW\*(C`perl \-V\*(C'\fR. Unpushed local commits
1461 are automatically added to the list of local patches displayed by
1462 \&\f(CW\*(C`perl \-V\*(C'\fR.
1463 .IP \(bu 4
1464 Perl now supports SystemTap\*(Aqs \f(CW\*(C`dtrace\*(C'\fR compatibility layer and an
1465 issue with linking \f(CW\*(C`miniperl\*(C'\fR has been fixed in the process.
1466 .IP \(bu 4
1467 perldoc now uses \f(CW\*(C`less \-R\*(C'\fR instead of \f(CW\*(C`less\*(C'\fR for improved behaviour
1468 in the face of \f(CW\*(C`groff\*(C'\fR\*(Aqs new usage of ANSI escape codes.
1469 .IP \(bu 4
1470 \&\f(CW\*(C`perl \-V\*(C'\fR now reports use of the compile\-time options \f(CW\*(C`USE_PERL_ATOF\*(C'\fR and
1471 \&\f(CW\*(C`USE_ATTRIBUTES_FOR_PERLIO\*(C'\fR.
1472 .IP \(bu 4
1473 As part of the flattening of \fIext\fR, all extensions on all platforms are
1474 built by \fImake_ext.pl\fR. This replaces the Unix\-specific
1475 \&\fIext/util/make_ext\fR, VMS\-specific \fImake_ext.com\fR and Win32\-specific
1476 \&\fIwin32/buildext.pl\fR.
1477 .SH "Internal Changes"
1478 .IX Header "Internal Changes"
1479 Each release of Perl sees numerous internal changes which shouldn\*(Aqt
1480 affect day to day usage but may still be notable for developers working
1481 with Perl\*(Aqs source code.
1482 .IP \(bu 4
1483 The J.R.R. Tolkien quotes at the head of C source file have been checked
1484 and proper citations added, thanks to a patch from Tom Christiansen.
1485 .IP \(bu 4
1486 The internal structure of the dual\-life modules traditionally found in
1487 the \fIlib/\fR and \fIext/\fR directories in the perl source has changed
1488 significantly. Where possible, dual\-lifed modules have been extracted
1489 from \fIlib/\fR and \fIext/\fR.
1490 .Sp
1491 Dual\-lifed modules maintained by Perl\*(Aqs developers as part of the Perl
1492 core now live in \fIdist/\fR. Dual\-lifed modules maintained primarily on
1493 CPAN now live in \fIcpan/\fR. When reporting a bug in a module located
1494 under \fIcpan/\fR, please send your bug report directly to the module\*(Aqs
1495 bug tracker or author, rather than Perl\*(Aqs bug tracker.
1496 .IP \(bu 4
1497 \&\f(CW\*(C`\eN{...}\*(C'\fR now compiles better, always forces UTF\-8 internal representation
1498 .Sp
1499 Perl\*(Aqs developers have fixed several problems with the recognition of
1500 \&\f(CW\*(C`\eN{...}\*(C'\fR constructs. As part of this, perl will store any scalar
1501 or regex containing \f(CW\*(C`\eN{\fR\f(CIname\fR\f(CW}\*(C'\fR or \f(CW\*(C`\eN{U+\fR\f(CIcode point\fR\f(CW}\*(C'\fR in its
1502 definition in UTF\-8 format. (This was true previously for all occurrences
1503 of \f(CW\*(C`\eN{\fR\f(CIname\fR\f(CW}\*(C'\fR that did not use a custom translator, but now it\*(Aqs
1504 always true.)
1505 .IP \(bu 4
1506 Perl_magic_setmglob now knows about globs, fixing RT #71254.
1507 .IP \(bu 4
1508 \&\f(CW\*(C`SVt_RV\*(C'\fR no longer exists. RVs are now stored in IVs.
1509 .IP \(bu 4
1510 \&\f(CWPerl_vcroak()\fR now accepts a null first argument. In addition, a full
1511 audit was made of the "not NULL" compiler annotations, and those for
1512 several other internal functions were corrected.
1513 .IP \(bu 4
1514 New macros \f(CW\*(C`dSAVEDERRNO\*(C'\fR, \f(CW\*(C`dSAVE_ERRNO\*(C'\fR, \f(CW\*(C`SAVE_ERRNO\*(C'\fR, \f(CW\*(C`RESTORE_ERRNO\*(C'\fR
1515 have been added to formalise the temporary saving of the \f(CW\*(C`errno\*(C'\fR
1516 variable.
1517 .IP \(bu 4
1518 The function \f(CW\*(C`Perl_sv_insert_flags\*(C'\fR has been added to augment
1519 \&\f(CW\*(C`Perl_sv_insert\*(C'\fR.
1520 .IP \(bu 4
1521 The function \f(CWPerl_newSV_type(type)\fR has been added, equivalent to
1522 \&\f(CWPerl_newSV()\fR followed by \f(CWPerl_sv_upgrade(type)\fR.
1523 .IP \(bu 4
1524 The function \f(CWPerl_newSVpvn_flags()\fR has been added, equivalent to
1525 \&\f(CWPerl_newSVpvn()\fR and then performing the action relevant to the flag.
1526 .Sp
1527 Two flag bits are currently supported.
1528 .RS 4
1529 .IP \(bu 4
1530 \&\f(CW\*(C`SVf_UTF8\*(C'\fR will call \f(CWSvUTF8_on()\fR for you. (Note that this does
1531 not convert a sequence of ISO 8859\-1 characters to UTF\-8). A wrapper,
1532 \&\f(CWnewSVpvn_utf8()\fR is available for this.
1533 .IP \(bu 4
1534 \&\f(CW\*(C`SVs_TEMP\*(C'\fR now calls \f(CWPerl_sv_2mortal()\fR on the new SV.
1535 .RE
1536 .RS 4
1537 .Sp
1538 There is also a wrapper that takes constant strings, \f(CWnewSVpvs_flags()\fR.
1539 .RE
1540 .IP \(bu 4
1541 The function \f(CW\*(C`Perl_croak_xs_usage\*(C'\fR has been added as a wrapper to
1542 \&\f(CW\*(C`Perl_croak\*(C'\fR.
1543 .IP \(bu 4
1544 Perl now exports the functions \f(CW\*(C`PerlIO_find_layer\*(C'\fR and \f(CW\*(C`PerlIO_list_alloc\*(C'\fR.
1545 .IP \(bu 4
1546 \&\f(CW\*(C`PL_na\*(C'\fR has been exterminated from the core code, replaced by local
1547 STRLEN temporaries, or \f(CW*_nolen()\fR calls. Either approach is faster than
1548 \&\f(CW\*(C`PL_na\*(C'\fR, which is a pointer dereference into the interpreter structure
1549 under ithreads, and a global variable otherwise.
1550 .IP \(bu 4
1551 \&\f(CWPerl_mg_free()\fR used to leave freed memory accessible via \f(CWSvMAGIC()\fR
1552 on the scalar. It now updates the linked list to remove each piece of
1553 magic as it is freed.
1554 .IP \(bu 4
1555 Under ithreads, the regex in \f(CW\*(C`PL_reg_curpm\*(C'\fR is now reference
1556 counted. This eliminates a lot of hackish workarounds to cope with it
1557 not being reference counted.
1558 .IP \(bu 4
1559 \&\f(CWPerl_mg_magical()\fR would sometimes incorrectly turn on \f(CWSvRMAGICAL()\fR.
1560 This has been fixed.
1561 .IP \(bu 4
1562 The \fIpublic\fR IV and NV flags are now not set if the string value has
1563 trailing "garbage". This behaviour is consistent with not setting the
1564 public IV or NV flags if the value is out of range for the type.
1565 .IP \(bu 4
1566 Uses of \f(CW\*(C`Nullav\*(C'\fR, \f(CW\*(C`Nullcv\*(C'\fR, \f(CW\*(C`Nullhv\*(C'\fR, \f(CW\*(C`Nullop\*(C'\fR, \f(CW\*(C`Nullsv\*(C'\fR etc have
1567 been replaced by \f(CW\*(C`NULL\*(C'\fR in the core code, and non\-dual\-life modules,
1568 as \f(CW\*(C`NULL\*(C'\fR is clearer to those unfamiliar with the core code.
1569 .IP \(bu 4
1570 A macro \f(CWMUTABLE_PTR(p)\fR has been added, which on (non\-pedantic) gcc will
1571 not cast away \f(CW\*(C`const\*(C'\fR, returning a \f(CW\*(C`void *\*(C'\fR. Macros \f(CWMUTABLE_SV(av)\fR,
1572 \&\f(CWMUTABLE_SV(cv)\fR etc build on this, casting to \f(CW\*(C`AV *\*(C'\fR etc without
1573 casting away \f(CW\*(C`const\*(C'\fR. This allows proper compile\-time auditing of
1574 \&\f(CW\*(C`const\*(C'\fR correctness in the core, and helped picked up some errors
1575 (now fixed).
1576 .IP \(bu 4
1577 Macros \f(CWmPUSHs()\fR and \f(CWmXPUSHs()\fR have been added, for pushing SVs on the
1578 stack and mortalizing them.
1579 .IP \(bu 4
1580 Use of the private structure \f(CW\*(C`mro_meta\*(C'\fR has changed slightly. Nothing
1581 outside the core should be accessing this directly anyway.
1582 .IP \(bu 4
1583 A new tool, \fIPorting/expand\-macro.pl\fR has been added, that allows you
1584 to view how a C preprocessor macro would be expanded when compiled.
1585 This is handy when trying to decode the macro hell that is the perl
1586 guts.
1587 .SH Testing
1588 .IX Header "Testing"
1589 .SS "Testing improvements"
1590 .IX Subsection "Testing improvements"
1591 .IP "Parallel tests" 4
1592 .IX Item "Parallel tests"
1593 The core distribution can now run its regression tests in parallel on
1594 Unix\-like platforms. Instead of running \f(CW\*(C`make test\*(C'\fR, set \f(CW\*(C`TEST_JOBS\*(C'\fR in
1595 your environment to the number of tests to run in parallel, and run
1596 \&\f(CW\*(C`make test_harness\*(C'\fR. On a Bourne\-like shell, this can be done as
1597 .Sp
1598 .Vb 1
1599 \& TEST_JOBS=3 make test_harness # Run 3 tests in parallel
1600 .Ve
1601 .Sp
1602 An environment variable is used, rather than parallel make itself, because
1603 TAP::Harness needs to be able to schedule individual non\-conflicting test
1604 scripts itself, and there is no standard interface to \f(CW\*(C`make\*(C'\fR utilities to
1605 interact with their job schedulers.
1606 .Sp
1607 Note that currently some test scripts may fail when run in parallel (most
1608 notably \f(CW\*(C`ext/IO/t/io_dir.t\*(C'\fR). If necessary run just the failing scripts
1609 again sequentially and see if the failures go away.
1610 .IP "Test harness flexibility" 4
1611 .IX Item "Test harness flexibility"
1612 It\*(Aqs now possible to override \f(CW\*(C`PERL5OPT\*(C'\fR and friends in \fIt/TEST\fR
1613 .IP "Test watchdog" 4
1614 .IX Item "Test watchdog"
1615 Several tests that have the potential to hang forever if they fail now
1616 incorporate a "watchdog" functionality that will kill them after a timeout,
1617 which helps ensure that \f(CW\*(C`make test\*(C'\fR and \f(CW\*(C`make test_harness\*(C'\fR run to
1618 completion automatically.
1619 .SS "New Tests"
1620 .IX Subsection "New Tests"
1621 Perl\*(Aqs developers have added a number of new tests to the core.
1622 In addition to the items listed below, many modules updated from CPAN
1623 incorporate new tests.
1624 .IP \(bu 4
1625 Significant cleanups to core tests to ensure that language and
1626 interpreter features are not used before they\*(Aqre tested.
1627 .IP \(bu 4
1628 \&\f(CW\*(C`make test_porting\*(C'\fR now runs a number of important pre\-commit checks
1629 which might be of use to anyone working on the Perl core.
1630 .IP \(bu 4
1631 \&\fIt/porting/podcheck.t\fR automatically checks the well\-formedness of
1632 POD found in all .pl, .pm and .pod files in the \fIMANIFEST\fR, other than in
1633 dual\-lifed modules which are primarily maintained outside the Perl core.
1634 .IP \(bu 4
1635 \&\fIt/porting/manifest.t\fR now tests that all files listed in MANIFEST
1636 are present.
1637 .IP \(bu 4
1638 \&\fIt/op/while_readdir.t\fR tests that a bare readdir in while loop sets \f(CW$_\fR.
1639 .IP \(bu 4
1640 \&\fIt/comp/retainedlines.t\fR checks that the debugger can retain source
1641 lines from \f(CW\*(C`eval\*(C'\fR.
1642 .IP \(bu 4
1643 \&\fIt/io/perlio_fail.t\fR checks that bad layers fail.
1644 .IP \(bu 4
1645 \&\fIt/io/perlio_leaks.t\fR checks that PerlIO layers are not leaking.
1646 .IP \(bu 4
1647 \&\fIt/io/perlio_open.t\fR checks that certain special forms of open work.
1648 .IP \(bu 4
1649 \&\fIt/io/perlio.t\fR includes general PerlIO tests.
1650 .IP \(bu 4
1651 \&\fIt/io/pvbm.t\fR checks that there is no unexpected interaction between
1652 the internal types \f(CW\*(C`PVBM\*(C'\fR and \f(CW\*(C`PVGV\*(C'\fR.
1653 .IP \(bu 4
1654 \&\fIt/mro/package_aliases.t\fR checks that mro works properly in the presence
1655 of aliased packages.
1656 .IP \(bu 4
1657 \&\fIt/op/dbm.t\fR tests \f(CW\*(C`dbmopen\*(C'\fR and \f(CW\*(C`dbmclose\*(C'\fR.
1658 .IP \(bu 4
1659 \&\fIt/op/index_thr.t\fR tests the interaction of \f(CW\*(C`index\*(C'\fR and threads.
1660 .IP \(bu 4
1661 \&\fIt/op/pat_thr.t\fR tests the interaction of esoteric patterns and threads.
1662 .IP \(bu 4
1663 \&\fIt/op/qr_gc.t\fR tests that \f(CW\*(C`qr\*(C'\fR doesn\*(Aqt leak.
1664 .IP \(bu 4
1665 \&\fIt/op/reg_email_thr.t\fR tests the interaction of regex recursion and threads.
1666 .IP \(bu 4
1667 \&\fIt/op/regexp_qr_embed_thr.t\fR tests the interaction of patterns with
1668 embedded \f(CW\*(C`qr//\*(C'\fR and threads.
1669 .IP \(bu 4
1670 \&\fIt/op/regexp_unicode_prop.t\fR tests Unicode properties in regular
1671 expressions.
1672 .IP \(bu 4
1673 \&\fIt/op/regexp_unicode_prop_thr.t\fR tests the interaction of Unicode
1674 properties and threads.
1675 .IP \(bu 4
1676 \&\fIt/op/reg_nc_tie.t\fR tests the tied methods of \f(CW\*(C`Tie::Hash::NamedCapture\*(C'\fR.
1677 .IP \(bu 4
1678 \&\fIt/op/reg_posixcc.t\fR checks that POSIX character classes behave
1679 consistently.
1680 .IP \(bu 4
1681 \&\fIt/op/re.t\fR checks that exportable \f(CW\*(C`re\*(C'\fR functions in \fIuniversal.c\fR work.
1682 .IP \(bu 4
1683 \&\fIt/op/setpgrpstack.t\fR checks that \f(CW\*(C`setpgrp\*(C'\fR works.
1684 .IP \(bu 4
1685 \&\fIt/op/substr_thr.t\fR tests the interaction of \f(CW\*(C`substr\*(C'\fR and threads.
1686 .IP \(bu 4
1687 \&\fIt/op/upgrade.t\fR checks that upgrading and assigning scalars works.
1688 .IP \(bu 4
1689 \&\fIt/uni/lex_utf8.t\fR checks that Unicode in the lexer works.
1690 .IP \(bu 4
1691 \&\fIt/uni/tie.t\fR checks that Unicode and \f(CW\*(C`tie\*(C'\fR work.
1692 .IP \(bu 4
1693 \&\fIt/comp/final_line_num.t\fR tests whether line numbers are correct at EOF
1694 .IP \(bu 4
1695 \&\fIt/comp/form_scope.t\fR tests format scoping.
1696 .IP \(bu 4
1697 \&\fIt/comp/line_debug.t\fR tests whether \f(CW\*(C`@{"_<$file"}\*(C'\fR works.
1698 .IP \(bu 4
1699 \&\fIt/op/filetest_t.t\fR tests if \-t file test works.
1700 .IP \(bu 4
1701 \&\fIt/op/qr.t\fR tests \f(CW\*(C`qr\*(C'\fR.
1702 .IP \(bu 4
1703 \&\fIt/op/utf8cache.t\fR tests malfunctions of the utf8 cache.
1704 .IP \(bu 4
1705 \&\fIt/re/uniprops.t\fR test unicodes \f(CW\*(C`\ep{}\*(C'\fR regex constructs.
1706 .IP \(bu 4
1707 \&\fIt/op/filehandle.t\fR tests some suitably portable filetest operators
1708 to check that they work as expected, particularly in the light of some
1709 internal changes made in how filehandles are blessed.
1710 .IP \(bu 4
1711 \&\fIt/op/time_loop.t\fR tests that unix times greater than \f(CW\*(C`2**63\*(C'\fR, which
1712 can now be handed to \f(CW\*(C`gmtime\*(C'\fR and \f(CW\*(C`localtime\*(C'\fR, do not cause an internal
1713 overflow or an excessively long loop.
1714 .SH "New or Changed Diagnostics"
1715 .IX Header "New or Changed Diagnostics"
1716 .SS "New Diagnostics"
1717 .IX Subsection "New Diagnostics"
1718 .IP \(bu 4
1719 SV allocation tracing has been added to the diagnostics enabled by \f(CW\*(C`\-Dm\*(C'\fR.
1720 The tracing can alternatively output via the \f(CW\*(C`PERL_MEM_LOG\*(C'\fR mechanism, if
1721 that was enabled when the \fIperl\fR binary was compiled.
1722 .IP \(bu 4
1723 Smartmatch resolution tracing has been added as a new diagnostic. Use
1724 \&\f(CW\*(C`\-DM\*(C'\fR to enable it.
1725 .IP \(bu 4
1726 A new debugging flag \f(CW\*(C`\-DB\*(C'\fR now dumps subroutine definitions, leaving
1727 \&\f(CW\*(C`\-Dx\*(C'\fR for its original purpose of dumping syntax trees.
1728 .IP \(bu 4
1729 Perl 5.12 provides a number of new diagnostic messages to help you write
1730 better code. See perldiag for details of these new messages.
1731 .RS 4
1732 .IP \(bu 4
1733 \&\f(CW\*(C`Bad plugin affecting keyword \*(Aq%s\*(Aq\*(C'\fR
1734 .IP \(bu 4
1735 \&\f(CW\*(C`gmtime(%.0f) too large\*(C'\fR
1736 .IP \(bu 4
1737 \&\f(CW\*(C`Lexing code attempted to stuff non\-Latin\-1 character into Latin\-1 input\*(C'\fR
1738 .IP \(bu 4
1739 \&\f(CW\*(C`Lexing code internal error (%s)\*(C'\fR
1740 .IP \(bu 4
1741 \&\f(CW\*(C`localtime(%.0f) too large\*(C'\fR
1742 .IP \(bu 4
1743 \&\f(CW\*(C`Overloaded dereference did not return a reference\*(C'\fR
1744 .IP \(bu 4
1745 \&\f(CW\*(C`Overloaded qr did not return a REGEXP\*(C'\fR
1746 .IP \(bu 4
1747 \&\f(CW\*(C`Perl_pmflag() is deprecated, and will be removed from the XS API\*(C'\fR
1748 .IP \(bu 4
1749 \&\f(CW\*(C`lvalue attribute ignored after the subroutine has been defined\*(C'\fR
1750 .Sp
1751 This new warning is issued when one attempts to mark a subroutine as
1752 lvalue after it has been defined.
1753 .IP \(bu 4
1754 Perl now warns you if \f(CW\*(C`++\*(C'\fR or \f(CW\*(C`\-\-\*(C'\fR are unable to change the value
1755 because it\*(Aqs beyond the limit of representation.
1756 .Sp
1757 This uses a new warnings category: "imprecision".
1758 .IP \(bu 4
1759 \&\f(CW\*(C`lc\*(C'\fR, \f(CW\*(C`uc\*(C'\fR, \f(CW\*(C`lcfirst\*(C'\fR, and \f(CW\*(C`ucfirst\*(C'\fR warn when passed undef.
1760 .IP \(bu 4
1761 \&\f(CW\*(C`Show constant in "Useless use of a constant in void context"\*(C'\fR
1762 .IP \(bu 4
1763 \&\f(CW\*(C`Prototype after \*(Aq%s\*(Aq\*(C'\fR
1764 .IP \(bu 4
1765 \&\f(CW\*(C`panic: sv_chop %s\*(C'\fR
1766 .Sp
1767 This new fatal error occurs when the C routine \f(CWPerl_sv_chop()\fR was
1768 passed a position that is not within the scalar\*(Aqs string buffer. This
1769 could be caused by buggy XS code, and at this point recovery is not
1770 possible.
1771 .IP \(bu 4
1772 The fatal error \f(CW\*(C`Malformed UTF\-8 returned by \eN\*(C'\fR is now produced if the
1773 \&\f(CW\*(C`charnames\*(C'\fR handler returns malformed UTF\-8.
1774 .IP \(bu 4
1775 If an unresolved named character or sequence was encountered when
1776 compiling a regex pattern then the fatal error \f(CW\*(C`\eN{NAME} must be resolved
1777 by the lexer\*(C'\fR is now produced. This can happen, for example, when using a
1778 single\-quotish context like \f(CW\*(C`$re = \*(Aq\eN{SPACE}\*(Aq; /$re/;\*(C'\fR. See perldiag
1779 for more examples of how the lexer can get bypassed.
1780 .IP \(bu 4
1781 \&\f(CW\*(C`Invalid hexadecimal number in \eN{U+...}\*(C'\fR is a new fatal error
1782 triggered when the character constant represented by \f(CW\*(C`...\*(C'\fR is not a
1783 valid hexadecimal number.
1784 .IP \(bu 4
1785 The new meaning of \f(CW\*(C`\eN\*(C'\fR as \f(CW\*(C`[^\en]\*(C'\fR is not valid in a bracketed character
1786 class, just like \f(CW\*(C`.\*(C'\fR in a character class loses its special meaning,
1787 and will cause the fatal error \f(CW\*(C`\eN in a character class must be a named
1788 character: \eN{...}\*(C'\fR.
1789 .IP \(bu 4
1790 The rules on what is legal for the \f(CW\*(C`...\*(C'\fR in \f(CW\*(C`\eN{...}\*(C'\fR have been
1791 tightened up so that unless the \f(CW\*(C`...\*(C'\fR begins with an alphabetic
1792 character and continues with a combination of alphanumerics, dashes,
1793 spaces, parentheses or colons then the warning \f(CW\*(C`Deprecated character(s)
1794 in \eN{...} starting at \*(Aq%s\*(Aq\*(C'\fR is now issued.
1795 .IP \(bu 4
1796 The warning \f(CW\*(C`Using just the first characters returned by \eN{}\*(C'\fR will
1797 be issued if the \f(CW\*(C`charnames\*(C'\fR handler returns a sequence of characters
1798 which exceeds the limit of the number of characters that can be used. The
1799 message will indicate which characters were used and which were discarded.
1800 .RE
1801 .RS 4
1802 .RE
1803 .SS "Changed Diagnostics"
1804 .IX Subsection "Changed Diagnostics"
1805 A number of existing diagnostic messages have been improved or corrected:
1806 .IP \(bu 4
1807 A new warning category \f(CW\*(C`illegalproto\*(C'\fR allows finer\-grained control of
1808 warnings around function prototypes.
1809 .Sp
1810 The two warnings:
1811 .RS 4
1812 .ie n .IP """Illegal character in prototype for %s : %s""" 4
1813 .el .IP "\f(CWIllegal character in prototype for %s : %s\fR" 4
1814 .IX Item "Illegal character in prototype for %s : %s"
1815 .PD 0
1816 .ie n .IP """Prototype after \*(Aq%c\*(Aq for %s : %s""" 4
1817 .el .IP "\f(CWPrototype after \*(Aq%c\*(Aq for %s : %s\fR" 4
1818 .IX Item "Prototype after '%c' for %s : %s"
1819 .PD
1820 .RE
1821 .RS 4
1822 .Sp
1823 have been moved from the \f(CW\*(C`syntax\*(C'\fR top\-level warnings category into a new
1824 first\-level category, \f(CW\*(C`illegalproto\*(C'\fR. These two warnings are currently
1825 the only ones emitted during parsing of an invalid/illegal prototype,
1826 so one can now use
1827 .Sp
1828 .Vb 1
1829 \& no warnings \*(Aqillegalproto\*(Aq;
1830 .Ve
1831 .Sp
1832 to suppress only those, but not other syntax\-related warnings. Warnings
1833 where prototypes are changed, ignored, or not met are still in the
1834 \&\f(CW\*(C`prototype\*(C'\fR category as before.
1835 .RE
1836 .IP \(bu 4
1837 \&\f(CW\*(C`Deep recursion on subroutine "%s"\*(C'\fR
1838 .Sp
1839 It is now possible to change the depth threshold for this warning from the
1840 default of 100, by recompiling the \fIperl\fR binary, setting the C
1841 pre\-processor macro \f(CW\*(C`PERL_SUB_DEPTH_WARN\*(C'\fR to the desired value.
1842 .IP \(bu 4
1843 \&\f(CW\*(C`Illegal character in prototype\*(C'\fR warning is now more precise
1844 when reporting illegal characters after _
1845 .IP \(bu 4
1846 mro merging error messages are now very similar to those produced by
1847 Algorithm::C3.
1848 .IP \(bu 4
1849 Amelioration of the error message "Unrecognized character \f(CW%s\fR in column \f(CW%d\fR"
1850 .Sp
1851 Changes the error message to "Unrecognized character \f(CW%s\fR; marked by <\-\-
1852 HERE after \f(CW%s\fR<\-\- HERE near column \f(CW%d\fR". This should make it a little
1853 simpler to spot and correct the suspicious character.
1854 .IP \(bu 4
1855 Perl now explicitly points to \f(CW$.\fR when it causes an uninitialized
1856 warning for ranges in scalar context.
1857 .IP \(bu 4
1858 \&\f(CW\*(C`split\*(C'\fR now warns when called in void context.
1859 .IP \(bu 4
1860 \&\f(CW\*(C`printf\*(C'\fR\-style functions called with too few arguments will now issue the
1861 warning \f(CW"Missing argument in %s"\fR [perl #71000]
1862 .IP \(bu 4
1863 Perl now properly returns a syntax error instead of segfaulting
1864 if \f(CW\*(C`each\*(C'\fR, \f(CW\*(C`keys\*(C'\fR, or \f(CW\*(C`values\*(C'\fR is used without an argument.
1865 .IP \(bu 4
1866 \&\f(CWtell()\fR now fails properly if called without an argument and when no
1867 previous file was read.
1868 .Sp
1869 \&\f(CWtell()\fR now returns \f(CW\-1\fR, and sets errno to \f(CW\*(C`EBADF\*(C'\fR, thus restoring
1870 the 5.8.x behaviour.
1871 .IP \(bu 4
1872 \&\f(CW\*(C`overload\*(C'\fR no longer implicitly unsets fallback on repeated \*(Aquse
1873 overload\*(Aq lines.
1874 .IP \(bu 4
1875 \&\fBPOSIX::strftime()\fR can now handle Unicode characters in the format string.
1876 .IP \(bu 4
1877 The \f(CW\*(C`syntax\*(C'\fR category was removed from 5 warnings that should only be in
1878 \&\f(CW\*(C`deprecated\*(C'\fR.
1879 .IP \(bu 4
1880 Three fatal \f(CW\*(C`pack\*(C'\fR/\f(CW\*(C`unpack\*(C'\fR error messages have been normalized to
1881 \&\f(CW\*(C`panic: %s\*(C'\fR
1882 .IP \(bu 4
1883 \&\f(CW\*(C`Unicode character is illegal\*(C'\fR has been rephrased to be more accurate
1884 .Sp
1885 It now reads \f(CW\*(C`Unicode non\-character is illegal in interchange\*(C'\fR and the
1886 perldiag documentation has been expanded a bit.
1887 .IP \(bu 4
1888 Currently, all but the first of the several characters that the
1889 \&\f(CW\*(C`charnames\*(C'\fR handler may return are discarded when used in a regular
1890 expression pattern bracketed character class. If this happens then the
1891 warning \f(CW\*(C`Using just the first character returned by \eN{} in character
1892 class\*(C'\fR will be issued.
1893 .IP \(bu 4
1894 The warning \f(CW\*(C`Missing right brace on \eN{} or unescaped left brace after
1895 \&\eN. Assuming the latter\*(C'\fR will be issued if Perl encounters a \f(CW\*(C`\eN{\*(C'\fR
1896 but doesn\*(Aqt find a matching \f(CW\*(C`}\*(C'\fR. In this case Perl doesn\*(Aqt know if it
1897 was mistakenly omitted, or if "match non\-newline" followed by "match
1898 a \f(CW\*(C`{\*(C'\fR" was desired. It assumes the latter because that is actually a
1899 valid interpretation as written, unlike the other case. If you meant
1900 the former, you need to add the matching right brace. If you did mean
1901 the latter, you can silence this warning by writing instead \f(CW\*(C`\eN\e{\*(C'\fR.
1902 .IP \(bu 4
1903 \&\f(CW\*(C`gmtime\*(C'\fR and \f(CW\*(C`localtime\*(C'\fR called with numbers smaller than they can
1904 reliably handle will now issue the warnings \f(CW\*(C`gmtime(%.0f) too small\*(C'\fR
1905 and \f(CW\*(C`localtime(%.0f) too small\*(C'\fR.
1906 .PP
1907 The following diagnostic messages have been removed:
1908 .IP \(bu 4
1909 \&\f(CW\*(C`Runaway format\*(C'\fR
1910 .IP \(bu 4
1911 \&\f(CW\*(C`Can\*(Aqt locate package %s for the parents of %s\*(C'\fR
1912 .Sp
1913 In general this warning it only got produced in
1914 conjunction with other warnings, and removing it allowed an ISA lookup
1915 optimisation to be added.
1916 .IP \(bu 4
1917 \&\f(CW\*(C`v\-string in use/require is non\-portable\*(C'\fR
1918 .SH "Utility Changes"
1919 .IX Header "Utility Changes"
1920 .IP \(bu 4
1921 \&\fIh2ph\fR now looks in \f(CW\*(C`include\-fixed\*(C'\fR too, which is a recent addition
1922 to gcc\*(Aqs search path.
1923 .IP \(bu 4
1924 \&\fIh2xs\fR no longer incorrectly treats enum values like macros.
1925 It also now handles C++ style comments (\f(CW\*(C`//\*(C'\fR) properly in enums.
1926 .IP \(bu 4
1927 \&\fIperl5db.pl\fR now supports \f(CW\*(C`LVALUE\*(C'\fR subroutines. Additionally, the
1928 debugger now correctly handles proxy constant subroutines, and
1929 subroutine stubs.
1930 .IP \(bu 4
1931 \&\fIperlbug\fR now uses \f(CW%Module::CoreList::bug_tracker\fR to print out
1932 upstream bug tracker URLs. If a user identifies a particular module
1933 as the topic of their bug report and we\*(Aqre able to divine the URL for
1934 its upstream bug tracker, perlbug now provide a message to the user
1935 explaining that the core copies the CPAN version directly, and provide
1936 the URL for reporting the bug directly to the upstream author.
1937 .Sp
1938 \&\fIperlbug\fR no longer reports "Message sent" when it hasn\*(Aqt actually sent
1939 the message
1940 .IP \(bu 4
1941 \&\fIperlthanks\fR is a new utility for sending non\-bug\-reports to the
1942 authors and maintainers of Perl. Getting nothing but bug reports can
1943 become a bit demoralising. If Perl 5.12 works well for you, please try
1944 out \fIperlthanks\fR. It will make the developers smile.
1945 .IP \(bu 4
1946 Perl\*(Aqs developers have fixed bugs in \fIa2p\fR having to do with the
1947 \&\f(CWmatch()\fR operator in list context. Additionally, \fIa2p\fR no longer
1948 generates code that uses the \f(CW$[\fR variable.
1949 .SH "Selected Bug Fixes"
1950 .IX Header "Selected Bug Fixes"
1951 .IP \(bu 4
1952 U+0FFFF is now a legal character in regular expressions.
1953 .IP \(bu 4
1954 pp_qr now always returns a new regexp SV. Resolves RT #69852.
1955 .Sp
1956 Instead of returning a(nother) reference to the (pre\-compiled) regexp
1957 in the optree, use \fBreg_temp_copy()\fR to create a copy of it, and return a
1958 reference to that. This resolves issues about Regexp::DESTROY not being
1959 called in a timely fashion (the original bug tracked by RT #69852), as
1960 well as bugs related to blessing regexps, and of assigning to regexps,
1961 as described in correspondence added to the ticket.
1962 .Sp
1963 It transpires that we also need to undo the \fBSvPVX()\fR sharing when ithreads
1964 cloning a Regexp SV, because mother_re is set to NULL, instead of a
1965 cloned copy of the mother_re. This change might fix bugs with regexps
1966 and threads in certain other situations, but as yet neither tests nor
1967 bug reports have indicated any problems, so it might not actually be an
1968 edge case that it\*(Aqs possible to reach.
1969 .IP \(bu 4
1970 Several compilation errors and segfaults when perl was built with \f(CW\*(C`\-Dmad\*(C'\fR
1971 were fixed.
1972 .IP \(bu 4
1973 Fixes for lexer API changes in 5.11.2 which broke NYTProf\*(Aqs savesrc option.
1974 .IP \(bu 4
1975 \&\f(CW\*(C`\-t\*(C'\fR should only return TRUE for file handles connected to a TTY
1976 .Sp
1977 The Microsoft C version of \f(CWisatty()\fR returns TRUE for all character mode
1978 devices, including the \fI/dev/null\fR\-style "nul" device and printers like
1979 "lpt1".
1980 .IP \(bu 4
1981 Fixed a regression caused by commit fafafbaf which caused a panic during
1982 parameter passing [perl #70171]
1983 .IP \(bu 4
1984 On systems which in\-place edits without backup files, \-i\*(Aq*\*(Aq now works as
1985 the documentation says it does [perl #70802]
1986 .IP \(bu 4
1987 Saving and restoring magic flags no longer loses readonly flag.
1988 .IP \(bu 4
1989 The malformed syntax \f(CW\*(C`grep EXPR LIST\*(C'\fR (note the missing comma) no longer
1990 causes abrupt and total failure.
1991 .IP \(bu 4
1992 Regular expressions compiled with \f(CW\*(C`qr{}\*(C'\fR literals properly set \f(CW\*(C`$\*(Aq\*(C'\fR when
1993 matching again.
1994 .IP \(bu 4
1995 Using named subroutines with \f(CW\*(C`sort\*(C'\fR should no longer lead to bus errors
1996 [perl #71076]
1997 .IP \(bu 4
1998 Numerous bugfixes catch small issues caused by the recently\-added Lexer API.
1999 .IP \(bu 4
2000 Smart match against \f(CW@_\fR sometimes gave false negatives. [perl #71078]
2001 .IP \(bu 4
2002 \&\f(CW$@\fR may now be assigned a read\-only value (without error or busting
2003 the stack).
2004 .IP \(bu 4
2005 \&\f(CW\*(C`sort\*(C'\fR called recursively from within an active comparison subroutine no
2006 longer causes a bus error if run multiple times. [perl #71076]
2007 .IP \(bu 4
2008 Tie::Hash::NamedCapture::* will not abort if passed bad input (RT #71828)
2009 .IP \(bu 4
2010 \&\f(CW@_\fR and \f(CW$_\fR no longer leak under threads (RT #34342 and #41138, also
2011 #70602, #70974)
2012 .IP \(bu 4
2013 \&\f(CW\*(C`\-I\*(C'\fR on shebang line now adds directories in front of \f(CW@INC\fR
2014 as documented, and as does \f(CW\*(C`\-I\*(C'\fR when specified on the command\-line.
2015 .IP \(bu 4
2016 \&\f(CW\*(C`kill\*(C'\fR is now fatal when called on non\-numeric process identifiers.
2017 Previously, an \f(CW\*(C`undef\*(C'\fR process identifier would be interpreted as a
2018 request to kill process 0, which would terminate the current process
2019 group on POSIX systems. Since process identifiers are always integers,
2020 killing a non\-numeric process is now fatal.
2021 .IP \(bu 4
2022 5.10.0 inadvertently disabled an optimisation, which caused a measurable
2023 performance drop in list assignment, such as is often used to assign
2024 function parameters from \f(CW@_\fR. The optimisation has been re\-instated, and
2025 the performance regression fixed. (This fix is also present in 5.10.1)
2026 .IP \(bu 4
2027 Fixed memory leak on \f(CW\*(C`while (1) { map 1, 1 }\*(C'\fR [RT #53038].
2028 .IP \(bu 4
2029 Some potential coredumps in PerlIO fixed [RT #57322,54828].
2030 .IP \(bu 4
2031 The debugger now works with lvalue subroutines.
2032 .IP \(bu 4
2033 The debugger\*(Aqs \f(CW\*(C`m\*(C'\fR command was broken on modules that defined constants
2034 [RT #61222].
2035 .IP \(bu 4
2036 \&\f(CW\*(C`crypt\*(C'\fR and string complement could return tainted values for untainted
2037 arguments [RT #59998].
2038 .IP \(bu 4
2039 The \f(CW\*(C`\-i\*(C'\fR\fI.suffix\fR command\-line switch now recreates the file using
2040 restricted permissions, before changing its mode to match the original
2041 file. This eliminates a potential race condition [RT #60904].
2042 .IP \(bu 4
2043 On some Unix systems, the value in \f(CW$?\fR would not have the top bit set
2044 (\f(CW\*(C`$? & 128\*(C'\fR) even if the child core dumped.
2045 .IP \(bu 4
2046 Under some circumstances, \f(CW$^R\fR could incorrectly become undefined
2047 [RT #57042].
2048 .IP \(bu 4
2049 In the XS API, various hash functions, when passed a pre\-computed hash where
2050 the key is UTF\-8, might result in an incorrect lookup.
2051 .IP \(bu 4
2052 XS code including \fIXSUB.h\fR before \fIperl.h\fR gave a compile\-time error
2053 [RT #57176].
2054 .IP \(bu 4
2055 \&\f(CW\*(C`$object\->isa(\*(AqFoo\*(Aq)\*(C'\fR would report false if the package \f(CW\*(C`Foo\*(C'\fR
2056 didn\*(Aqt exist, even if the object\*(Aqs \f(CW@ISA\fR contained \f(CW\*(C`Foo\*(C'\fR.
2057 .IP \(bu 4
2058 Various bugs in the new\-to 5.10.0 mro code, triggered by manipulating
2059 \&\f(CW@ISA\fR, have been found and fixed.
2060 .IP \(bu 4
2061 Bitwise operations on references could crash the interpreter, e.g.
2062 \&\f(CW\*(C`$x=\e$y; $x |= "foo"\*(C'\fR [RT #54956].
2063 .IP \(bu 4
2064 Patterns including alternation might be sensitive to the internal UTF\-8
2065 representation, e.g.
2066 .Sp
2067 .Vb 3
2068 \& my $byte = chr(192);
2069 \& my $utf8 = chr(192); utf8::upgrade($utf8);
2070 \& $utf8 =~ /$byte|X}/i; # failed in 5.10.0
2071 .Ve
2072 .IP \(bu 4
2073 Within UTF8\-encoded Perl source files (i.e. where \f(CW\*(C`use utf8\*(C'\fR is in
2074 effect), double\-quoted literal strings could be corrupted where a \f(CW\*(C`\exNN\*(C'\fR,
2075 \&\f(CW\*(C`\e0NNN\*(C'\fR or \f(CW\*(C`\eN{}\*(C'\fR is followed by a literal character with ordinal value
2076 greater than 255 [RT #59908].
2077 .IP \(bu 4
2078 \&\f(CW\*(C`B::Deparse\*(C'\fR failed to correctly deparse various constructs:
2079 \&\f(CW\*(C`readpipe STRING\*(C'\fR [RT #62428], \f(CWCORE::require(STRING)\fR [RT #62488],
2080 \&\f(CW\*(C`sub foo(_)\*(C'\fR [RT #62484].
2081 .IP \(bu 4
2082 Using \f(CW\*(C`setpgrp\*(C'\fR with no arguments could corrupt the perl stack.
2083 .IP \(bu 4
2084 The block form of \f(CW\*(C`eval\*(C'\fR is now specifically trappable by \f(CW\*(C`Safe\*(C'\fR and
2085 \&\f(CW\*(C`ops\*(C'\fR. Previously it was erroneously treated like string \f(CW\*(C`eval\*(C'\fR.
2086 .IP \(bu 4
2087 In 5.10.0, the two characters \f(CW\*(C`[~\*(C'\fR were sometimes parsed as the smart
2088 match operator (\f(CW\*(C`~~\*(C'\fR) [RT #63854].
2089 .IP \(bu 4
2090 In 5.10.0, the \f(CW\*(C`*\*(C'\fR quantifier in patterns was sometimes treated as
2091 \&\f(CW\*(C`{0,32767}\*(C'\fR [RT #60034, #60464]. For example, this match would fail:
2092 .Sp
2093 .Vb 1
2094 \& ("ab" x 32768) =~ /^(ab)*$/
2095 .Ve
2096 .IP \(bu 4
2097 \&\f(CW\*(C`shmget\*(C'\fR was limited to a 32 bit segment size on a 64 bit OS [RT #63924].
2098 .IP \(bu 4
2099 Using \f(CW\*(C`next\*(C'\fR or \f(CW\*(C`last\*(C'\fR to exit a \f(CW\*(C`given\*(C'\fR block no longer produces a
2100 spurious warning like the following:
2101 .Sp
2102 .Vb 1
2103 \& Exiting given via last at foo.pl line 123
2104 .Ve
2105 .IP \(bu 4
2106 Assigning a format to a glob could corrupt the format; e.g.:
2107 .Sp
2108 .Vb 1
2109 \& *bar=*foo{FORMAT}; # foo format now bad
2110 .Ve
2111 .IP \(bu 4
2112 Attempting to coerce a typeglob to a string or number could cause an
2113 assertion failure. The correct error message is now generated,
2114 \&\f(CW\*(C`Can\*(Aqt coerce GLOB to \fR\f(CI$type\fR\f(CW\*(C'\fR.
2115 .IP \(bu 4
2116 Under \f(CW\*(C`use filetest \*(Aqaccess\*(Aq\*(C'\fR, \f(CW\*(C`\-x\*(C'\fR was using the wrong access
2117 mode. This has been fixed [RT #49003].
2118 .IP \(bu 4
2119 \&\f(CW\*(C`length\*(C'\fR on a tied scalar that returned a Unicode value would not be
2120 correct the first time. This has been fixed.
2121 .IP \(bu 4
2122 Using an array \f(CW\*(C`tie\*(C'\fR inside in array \f(CW\*(C`tie\*(C'\fR could SEGV. This has been
2123 fixed. [RT #51636]
2124 .IP \(bu 4
2125 A race condition inside \f(CWPerlIOStdio_close()\fR has been identified and
2126 fixed. This used to cause various threading issues, including SEGVs.
2127 .IP \(bu 4
2128 In \f(CW\*(C`unpack\*(C'\fR, the use of \f(CW\*(C`()\*(C'\fR groups in scalar context was internally
2129 placing a list on the interpreter\*(Aqs stack, which manifested in various
2130 ways, including SEGVs. This is now fixed [RT #50256].
2131 .IP \(bu 4
2132 Magic was called twice in \f(CW\*(C`substr\*(C'\fR, \f(CW\*(C`\e&$x\*(C'\fR, \f(CW\*(C`tie $x, $m\*(C'\fR and \f(CW\*(C`chop\*(C'\fR.
2133 These have all been fixed.
2134 .IP \(bu 4
2135 A 5.10.0 optimisation to clear the temporary stack within the implicit
2136 loop of \f(CW\*(C`s///ge\*(C'\fR has been reverted, as it turned out to be the cause of
2137 obscure bugs in seemingly unrelated parts of the interpreter [commit
2138 ef0d4e17921ee3de].
2139 .IP \(bu 4
2140 The line numbers for warnings inside \f(CW\*(C`elsif\*(C'\fR are now correct.
2141 .IP \(bu 4
2142 The \f(CW\*(C`..\*(C'\fR operator now works correctly with ranges whose ends are at or
2143 close to the values of the smallest and largest integers.
2144 .IP \(bu 4
2145 \&\f(CW\*(C`binmode STDIN, \*(Aq:raw\*(Aq\*(C'\fR could lead to segmentation faults on some platforms.
2146 This has been fixed [RT #54828].
2147 .IP \(bu 4
2148 An off\-by\-one error meant that \f(CW\*(C`index $str, ...\*(C'\fR was effectively being
2149 executed as \f(CW\*(C`index "$str\e0", ...\*(C'\fR. This has been fixed [RT #53746].
2150 .IP \(bu 4
2151 Various leaks associated with named captures in regexes have been fixed
2152 [RT #57024].
2153 .IP \(bu 4
2154 A weak reference to a hash would leak. This was affecting \f(CW\*(C`DBI\*(C'\fR
2155 [RT #56908].
2156 .IP \(bu 4
2157 Using (?|) in a regex could cause a segfault [RT #59734].
2158 .IP \(bu 4
2159 Use of a UTF\-8 \f(CW\*(C`tr//\*(C'\fR within a closure could cause a segfault [RT #61520].
2160 .IP \(bu 4
2161 Calling \f(CWPerl_sv_chop()\fR or otherwise upgrading an SV could result in an
2162 unaligned 64\-bit access on the SPARC architecture [RT #60574].
2163 .IP \(bu 4
2164 In the 5.10.0 release, \f(CW\*(C`inc_version_list\*(C'\fR would incorrectly list
2165 \&\f(CW\*(C`5.10.*\*(C'\fR after \f(CW\*(C`5.8.*\*(C'\fR; this affected the \f(CW@INC\fR search order
2166 [RT #67628].
2167 .IP \(bu 4
2168 In 5.10.0, \f(CW\*(C`pack "a*", $tainted_value\*(C'\fR returned a non\-tainted value
2169 [RT #52552].
2170 .IP \(bu 4
2171 In 5.10.0, \f(CW\*(C`printf\*(C'\fR and \f(CW\*(C`sprintf\*(C'\fR could produce the fatal error
2172 \&\f(CW\*(C`panic: utf8_mg_pos_cache_update\*(C'\fR when printing UTF\-8 strings
2173 [RT #62666].
2174 .IP \(bu 4
2175 In the 5.10.0 release, a dynamically created \f(CW\*(C`AUTOLOAD\*(C'\fR method might be
2176 missed (method cache issue) [RT #60220,60232].
2177 .IP \(bu 4
2178 In the 5.10.0 release, a combination of \f(CW\*(C`use feature\*(C'\fR and \f(CW\*(C`//ee\*(C'\fR could
2179 cause a memory leak [RT #63110].
2180 .IP \(bu 4
2181 \&\f(CW\*(C`\-C\*(C'\fR on the shebang (\f(CW\*(C`#!\*(C'\fR) line is once more permitted if it is also
2182 specified on the command line. \f(CW\*(C`\-C\*(C'\fR on the shebang line used to be a
2183 silent no\-op \fIif\fR it was not also on the command line, so perl 5.10.0
2184 disallowed it, which broke some scripts. Now perl checks whether it is
2185 also on the command line and only dies if it is not [RT #67880].
2186 .IP \(bu 4
2187 In 5.10.0, certain types of re\-entrant regular expression could crash,
2188 or cause the following assertion failure [RT #60508]:
2189 .Sp
2190 .Vb 1
2191 \& Assertion rx\->sublen >= (s \- rx\->subbeg) + i failed
2192 .Ve
2193 .IP \(bu 4
2194 Perl now includes previously missing files from the Unicode Character
2195 Database.
2196 .IP \(bu 4
2197 Perl now honors \f(CW\*(C`TMPDIR\*(C'\fR when opening an anonymous temporary file.
2198 .SH "Platform Specific Changes"
2199 .IX Header "Platform Specific Changes"
2200 Perl is incredibly portable. In general, if a platform has a C compiler,
2201 someone has ported Perl to it (or will soon). We\*(Aqre happy to announce
2202 that Perl 5.12 includes support for several new platforms. At the same
2203 time, it\*(Aqs time to bid farewell to some (very) old friends.
2204 .SS "New Platforms"
2205 .IX Subsection "New Platforms"
2206 .IP Haiku 4
2207 .IX Item "Haiku"
2208 Perl\*(Aqs developers have merged patches from Haiku\*(Aqs maintainers. Perl
2209 should now build on Haiku.
2210 .IP "MirOS BSD" 4
2211 .IX Item "MirOS BSD"
2212 Perl should now build on MirOS BSD.
2213 .SS "Discontinued Platforms"
2214 .IX Subsection "Discontinued Platforms"
2215 .IP Domain/OS 4
2216 .IX Item "Domain/OS"
2217 .PD 0
2218 .IP MiNT 4
2219 .IX Item "MiNT"
2220 .IP "Tenon MachTen" 4
2221 .IX Item "Tenon MachTen"
2222 .PD
2223 .SS "Updated Platforms"
2224 .IX Subsection "Updated Platforms"
2225 .IP AIX 4
2226 .IX Item "AIX"
2227 .RS 4
2228 .PD 0
2229 .IP \(bu 4
2230 .PD
2231 Removed \fIlibbsd\fR for AIX 5L and 6.1. Only \f(CWflock()\fR was used from
2232 \&\fIlibbsd\fR.
2233 .IP \(bu 4
2234 Removed \fIlibgdbm\fR for AIX 5L and 6.1 if \fIlibgdbm\fR < 1.8.3\-5 is
2235 installed. The \fIlibgdbm\fR is delivered as an optional package with the
2236 AIX Toolbox. Unfortunately the versions below 1.8.3\-5 are broken.
2237 .IP \(bu 4
2238 Hints changes mean that AIX 4.2 should work again.
2239 .RE
2240 .RS 4
2241 .RE
2242 .IP Cygwin 4
2243 .IX Item "Cygwin"
2244 .RS 4
2245 .PD 0
2246 .IP \(bu 4
2247 .PD
2248 Perl now supports IPv6 on Cygwin 1.7 and newer.
2249 .IP \(bu 4
2250 On Cygwin we now strip the last number from the DLL. This has been the
2251 behaviour in the cygwin.com build for years. The hints files have been
2252 updated.
2253 .RE
2254 .RS 4
2255 .RE
2256 .IP "Darwin (Mac OS X)" 4
2257 .IX Item "Darwin (Mac OS X)"
2258 .RS 4
2259 .PD 0
2260 .IP \(bu 4
2261 .PD
2262 Skip testing the be_BY.CP1131 locale on Darwin 10 (Mac OS X 10.6),
2263 as it\*(Aqs still buggy.
2264 .IP \(bu 4
2265 Correct infelicities in the regexp used to identify buggy locales
2266 on Darwin 8 and 9 (Mac OS X 10.4 and 10.5, respectively).
2267 .RE
2268 .RS 4
2269 .RE
2270 .IP "DragonFly BSD" 4
2271 .IX Item "DragonFly BSD"
2272 .RS 4
2273 .PD 0
2274 .IP \(bu 4
2275 .PD
2276 Fix thread library selection [perl #69686]
2277 .RE
2278 .RS 4
2279 .RE
2280 .IP FreeBSD 4
2281 .IX Item "FreeBSD"
2282 .RS 4
2283 .PD 0
2284 .IP \(bu 4
2285 .PD
2286 The hints files now identify the correct threading libraries on FreeBSD 7
2287 and later.
2288 .RE
2289 .RS 4
2290 .RE
2291 .IP Irix 4
2292 .IX Item "Irix"
2293 .RS 4
2294 .PD 0
2295 .IP \(bu 4
2296 .PD
2297 We now work around a bizarre preprocessor bug in the Irix 6.5 compiler:
2298 \&\f(CW\*(C`cc \-E \-\*(C'\fR unfortunately goes into K&R mode, but \f(CW\*(C`cc \-E file.c\*(C'\fR doesn\*(Aqt.
2299 .RE
2300 .RS 4
2301 .RE
2302 .IP NetBSD 4
2303 .IX Item "NetBSD"
2304 .RS 4
2305 .PD 0
2306 .IP \(bu 4
2307 .PD
2308 Hints now supports versions 5.*.
2309 .RE
2310 .RS 4
2311 .RE
2312 .IP OpenVMS 4
2313 .IX Item "OpenVMS"
2314 .RS 4
2315 .PD 0
2316 .IP \(bu 4
2317 .PD
2318 \&\f(CW\*(C`\-UDEBUGGING\*(C'\fR is now the default on VMS.
2319 .Sp
2320 Like it has been everywhere else for ages and ages. Also make command\-line
2321 selection of \-UDEBUGGING and \-DDEBUGGING work in configure.com; before
2322 the only way to turn it off was by saying no in answer to the interactive
2323 question.
2324 .IP \(bu 4
2325 The default pipe buffer size on VMS has been updated to 8192 on 64\-bit
2326 systems.
2327 .IP \(bu 4
2328 Reads from the in\-memory temporary files of \f(CW\*(C`PerlIO::scalar\*(C'\fR used to fail
2329 if \f(CW$/\fR was set to a numeric reference (to indicate record\-style reads).
2330 This is now fixed.
2331 .IP \(bu 4
2332 VMS now supports \f(CW\*(C`getgrgid\*(C'\fR.
2333 .IP \(bu 4
2334 Many improvements and cleanups have been made to the VMS file name handling
2335 and conversion code.
2336 .IP \(bu 4
2337 Enabling the \f(CW\*(C`PERL_VMS_POSIX_EXIT\*(C'\fR logical name now encodes a POSIX exit
2338 status in a VMS condition value for better interaction with GNV\*(Aqs bash
2339 shell and other utilities that depend on POSIX exit values. See
2340 "$?" in perlvms for details.
2341 .IP \(bu 4
2342 \&\f(CW\*(C`File::Copy\*(C'\fR now detects Unix compatibility mode on VMS.
2343 .RE
2344 .RS 4
2345 .RE
2346 .IP "Stratus VOS" 4
2347 .IX Item "Stratus VOS"
2348 .RS 4
2349 .PD 0
2350 .IP \(bu 4
2351 .PD
2352 Various changes from Stratus have been merged in.
2353 .RE
2354 .RS 4
2355 .RE
2356 .IP Symbian 4
2357 .IX Item "Symbian"
2358 .RS 4
2359 .PD 0
2360 .IP \(bu 4
2361 .PD
2362 There is now support for Symbian S60 3.2 SDK and S60 5.0 SDK.
2363 .RE
2364 .RS 4
2365 .RE
2366 .IP Windows 4
2367 .IX Item "Windows"
2368 .RS 4
2369 .PD 0
2370 .IP \(bu 4
2371 .PD
2372 Perl 5.12 supports Windows 2000 and later. The supporting code for
2373 legacy versions of Windows is still included, but will be removed
2374 during the next development cycle.
2375 .IP \(bu 4
2376 Initial support for building Perl with MinGW\-w64 is now available.
2377 .IP \(bu 4
2378 \&\fIperl.exe\fR now includes a manifest resource to specify the \f(CW\*(C`trustInfo\*(C'\fR
2379 settings for Windows Vista and later. Without this setting Windows
2380 would treat \fIperl.exe\fR as a legacy application and apply various
2381 heuristics like redirecting access to protected file system areas
2382 (like the "Program Files" folder) to the users "VirtualStore"
2383 instead of generating a proper "permission denied" error.
2384 .Sp
2385 The manifest resource also requests the Microsoft Common\-Controls
2386 version 6.0 (themed controls introduced in Windows XP). Check out the
2387 Win32::VisualStyles module on CPAN to switch back to old style
2388 unthemed controls for legacy applications.
2389 .IP \(bu 4
2390 The \f(CW\*(C`\-t\*(C'\fR filetest operator now only returns true if the filehandle
2391 is connected to a console window. In previous versions of Perl it
2392 would return true for all character mode devices, including \fINUL\fR
2393 and \fILPT1\fR.
2394 .IP \(bu 4
2395 The \f(CW\*(C`\-p\*(C'\fR filetest operator now works correctly, and the
2396 Fcntl::S_IFIFO constant is defined when Perl is compiled with
2397 Microsoft Visual C. In previous Perl versions \f(CW\*(C`\-p\*(C'\fR always
2398 returned a false value, and the Fcntl::S_IFIFO constant
2399 was not defined.
2400 .Sp
2401 This bug is specific to Microsoft Visual C and never affected
2402 Perl binaries built with MinGW.
2403 .IP \(bu 4
2404 The socket error codes are now more widely supported: The POSIX
2405 module will define the symbolic names, like POSIX::EWOULDBLOCK,
2406 and stringification of socket error codes in $! works as well
2407 now;
2408 .Sp
2409 .Vb 2
2410 \& C:\e>perl \-MPOSIX \-E "$!=POSIX::EWOULDBLOCK; say $!"
2411 \& A non\-blocking socket operation could not be completed immediately.
2412 .Ve
2413 .IP \(bu 4
2414 \&\fBflock()\fR will now set sensible error codes in $!. Previous Perl versions
2415 copied the value of $^E into $!, which caused much confusion.
2416 .IP \(bu 4
2417 \&\fBselect()\fR now supports all empty \f(CW\*(C`fd_set\*(C'\fRs more correctly.
2418 .IP \(bu 4
2419 \&\f(CW\*(Aq.\efoo\*(Aq\fR and \f(CW\*(Aq..\efoo\*(Aq\fR were treated differently than
2420 \&\f(CW\*(Aq./foo\*(Aq\fR and \f(CW\*(Aq../foo\*(Aq\fR by \f(CW\*(C`do\*(C'\fR and \f(CW\*(C`require\*(C'\fR [RT #63492].
2421 .IP \(bu 4
2422 Improved message window handling means that \f(CW\*(C`alarm\*(C'\fR and \f(CW\*(C`kill\*(C'\fR messages
2423 will no longer be dropped under race conditions.
2424 .IP \(bu 4
2425 Various bits of Perl\*(Aqs build infrastructure are no longer converted to
2426 win32 line endings at release time. If this hurts you, please report the
2427 problem with the perlbug program included with perl.
2428 .RE
2429 .RS 4
2430 .RE
2431 .SH "Known Problems"
2432 .IX Header "Known Problems"
2433 This is a list of some significant unfixed bugs, which are regressions
2434 from either 5.10.x or 5.8.x.
2435 .IP \(bu 4
2436 Some CPANPLUS tests may fail if there is a functioning file
2437 \&\fI../../cpanp\-run\-perl\fR outside your build directory. The failure
2438 shouldn\*(Aqt imply there\*(Aqs a problem with the actual functional
2439 software. The bug is already fixed in [RT #74188] and is scheduled for
2440 inclusion in perl\-v5.12.1.
2441 .IP \(bu 4
2442 \&\f(CW\*(C`List::Util::first\*(C'\fR misbehaves in the presence of a lexical \f(CW$_\fR
2443 (typically introduced by \f(CW\*(C`my $_\*(C'\fR or implicitly by \f(CW\*(C`given\*(C'\fR). The variable
2444 which gets set for each iteration is the package variable \f(CW$_\fR, not the
2445 lexical \f(CW$_\fR [RT #67694].
2446 .Sp
2447 A similar issue may occur in other modules that provide functions which
2448 take a block as their first argument, like
2449 .Sp
2450 .Vb 1
2451 \& foo { ... $_ ...} list
2452 .Ve
2453 .IP \(bu 4
2454 Some regexes may run much more slowly when run in a child thread compared
2455 with the thread the pattern was compiled into [RT #55600].
2456 .IP \(bu 4
2457 Things like \f(CW\*(C`"\eN{LATIN SMALL LIGATURE FF}" =~ /\eN{LATIN SMALL LETTER F}+/\*(C'\fR
2458 will appear to hang as they get into a very long running loop [RT #72998].
2459 .IP \(bu 4
2460 Several porters have reported mysterious crashes when Perl\*(Aqs entire
2461 test suite is run after a build on certain Windows 2000 systems. When
2462 run by hand, the individual tests reportedly work fine.
2463 .SH Errata
2464 .IX Header "Errata"
2465 .IP \(bu 4
2466 This one is actually a change introduced in 5.10.0, but it was missed
2467 from that release\*(Aqs perldelta, so it is mentioned here instead.
2468 .Sp
2469 A bugfix related to the handling of the \f(CW\*(C`/m\*(C'\fR modifier and \f(CW\*(C`qr\*(C'\fR resulted
2470 in a change of behaviour between 5.8.x and 5.10.0:
2471 .Sp
2472 .Vb 2
2473 \& # matches in 5.8.x, doesn\*(Aqt match in 5.10.0
2474 \& $re = qr/^bar/; "foo\enbar" =~ /$re/m;
2475 .Ve
2476 .SH Acknowledgements
2477 .IX Header "Acknowledgements"
2478 Perl 5.12.0 represents approximately two years of development since
2479 Perl 5.10.0 and contains over 750,000 lines of changes across over
2480 3,000 files from over 200 authors and committers.
2481 .PP
2482 Perl continues to flourish into its third decade thanks to a vibrant
2483 community of users and developers. The following people are known to
2484 have contributed the improvements that became Perl 5.12.0:
2485 .PP
2486 Aaron Crane, Abe Timmerman, Abhijit Menon\-Sen, Abigail, Adam Russell,
2487 Adriano Ferreira, Ævar Arnfjörð Bjarmason, Alan Grover, Alexandr
2488 Ciornii, Alex Davies, Alex Vandiver, Andreas Koenig, Andrew Rodland,
2489 [email protected], Andy Armstrong, Andy Dougherty, Jose AUGUSTE\-ETIENNE,
2490 Benjamin Smith, Ben Morrow, bharanee rathna, Bo Borgerson, Bo Lindbergh,
2491 Brad Gilbert, Bram, Brendan O\*(AqDea, brian d foy, Charles Bailey,
2492 Chip Salzenberg, Chris \*(AqBinGOs\*(Aq Williams, Christoph Lamprecht, Chris
2493 Williams, chromatic, Claes Jakobsson, Craig A. Berry, Dan Dascalescu,
2494 Daniel Frederick Crisman, Daniel M. Quinlan, Dan Jacobson, Dan Kogai,
2495 Dave Mitchell, Dave Rolsky, David Cantrell, David Dick, David Golden,
2496 David Mitchell, David M. Syzdek, David Nicol, David Wheeler, Dennis
2497 Kaarsemaker, Dintelmann, Peter, Dominic Dunlop, Dr.Ruud, Duke Leto,
2498 Enrico Sorcinelli, Eric Brine, Father Chrysostomos, Florian Ragwitz,
2499 Frank Wiegand, Gabor Szabo, Gene Sullivan, Geoffrey T. Dairiki, George
2500 Greer, Gerard Goossen, Gisle Aas, Goro Fuji, Graham Barr, Green, Paul,
2501 Hans Dieter Pearcey, Harmen, H. Merijn Brand, Hugo van der Sanden,
2502 Ian Goodacre, Igor Sutton, Ingo Weinhold, James Bence, James Mastros,
2503 Jan Dubois, Jari Aalto, Jarkko Hietaniemi, Jay Hannah, Jerry Hedden,
2504 Jesse Vincent, Jim Cromie, Jody Belka, John E. Malmberg, John Malmberg,
2505 John Peacock, John Peacock via RT, John P. Linderman, John Wright,
2506 Josh ben Jore, Jos I. Boumans, Karl Williamson, Kenichi Ishigaki, Ken
2507 Williams, Kevin Brintnall, Kevin Ryde, Kurt Starsinic, Leon Brocard,
2508 Lubomir Rintel, Luke Ross, Marcel Grünauer, Marcus Holland\-Moritz, Mark
2509 Jason Dominus, Marko Asplund, Martin Hasch, Mashrab Kuvatov, Matt Kraai,
2510 Matt S Trout, Max Maischein, Michael Breen, Michael Cartmell, Michael
2511 G Schwern, Michael Witten, Mike Giroux, Milosz Tanski, Moritz Lenz,
2512 Nicholas Clark, Nick Cleaton, Niko Tyni, Offer Kaye, Osvaldo Villalon,
2513 Paul Fenwick, Paul Gaborit, Paul Green, Paul Johnson, Paul Marquess,
2514 Philip Hazel, Philippe Bruhat, Rafael Garcia\-Suarez, Rainer Tammer,
2515 Rajesh Mandalemula, Reini Urban, Renée Bäcker, Ricardo Signes,
2516 Ricardo SIGNES, Richard Foley, Rich Rauenzahn, Rick Delaney, Risto
2517 Kankkunen, Robert May, Roberto C. Sanchez, Robin Barker, SADAHIRO
2518 Tomoyuki, Salvador Ortiz Garcia, Sam Vilain, Scott Lanning, Sébastien
2519 Aperghis\-Tramoni, Sérgio Durigan Júnior, Shlomi Fish, Simon \*(Aqcorecode\*(Aq
2520 Schubert, Sisyphus, Slaven Rezic, Smylers, Steffen Müller, Steffen
2521 Ullrich, Stepan Kasal, Steve Hay, Steven Schubiger, Steve Peters, Tels,
2522 The Doctor, Tim Bunce, Tim Jenness, Todd Rinaldo, Tom Christiansen,
2523 Tom Hukins, Tom Wyant, Tony Cook, Torsten Schoenfeld, Tye McQueen,
2524 Vadim Konovalov, Vincent Pit, Hio YAMASHINA, Yasuhiro Matsumoto,
2525 Yitzchak Scott\-Thoennes, Yuval Kogman, Yves Orton, Zefram, Zsban Ambrus
2526 .PP
2527 This is woefully incomplete as it\*(Aqs automatically generated from version
2528 control history. In particular, it doesn\*(Aqt include the names of the
2529 (very much appreciated) contributors who reported issues in previous
2530 versions of Perl that helped make Perl 5.12.0 better. For a more complete
2531 list of all of Perl\*(Aqs historical contributors, please see the \f(CW\*(C`AUTHORS\*(C'\fR
2532 file in the Perl 5.12.0 distribution.
2533 .PP
2534 Our "retired" pumpkings Nicholas Clark and Rafael Garcia\-Suarez
2535 deserve special thanks for their brilliant and substantive ongoing
2536 contributions. Nicholas personally authored over 30% of the patches
2537 since 5.10.0. Rafael comes in second in patch authorship with 11%,
2538 but is first by a long shot in committing patches authored by others,
2539 pushing 44% of the commits since 5.10.0 in this category, often after
2540 providing considerable coaching to the patch authors. These statistics
2541 in no way comprise all of their contributions, but express in shorthand
2542 that we couldn\*(Aqt have done it without them.
2543 .PP
2544 Many of the changes included in this version originated in the CPAN
2545 modules included in Perl\*(Aqs core. We\*(Aqre grateful to the entire CPAN
2546 community for helping Perl to flourish.
2547 .SH "Reporting Bugs"
2548 .IX Header "Reporting Bugs"
2549 If you find what you think is a bug, you might check the articles
2550 recently posted to the comp.lang.perl.misc newsgroup and the perl
2551 bug database at <http://rt.perl.org/perlbug/>. There may also be
2552 information at <http://www.perl.org/>, the Perl Home Page.
2553 .PP
2554 If you believe you have an unreported bug, please run the \fBperlbug\fR
2555 program included with your release. Be sure to trim your bug down
2556 to a tiny but sufficient test case. Your bug report, along with the
2557 output of \f(CW\*(C`perl \-V\*(C'\fR, will be sent off to [email protected] to be
2558 analyzed by the Perl porting team.
2559 .PP
2560 If the bug you are reporting has security implications, which make it
2561 inappropriate to send to a publicly archived mailing list, then please send
2562 it to perl5\-security\[email protected]. This points to a closed subscription
2563 unarchived mailing list, which includes
2564 all the core committers, who will be able
2565 to help assess the impact of issues, figure out a resolution, and help
2566 co\-ordinate the release of patches to mitigate or fix the problem across all
2567 platforms on which Perl is supported. Please only use this address for
2568 security issues in the Perl core, not for modules independently
2569 distributed on CPAN.
2570 .SH "SEE ALSO"
2571 .IX Header "SEE ALSO"
2572 The \fIChanges\fR file for an explanation of how to view exhaustive details
2573 on what changed.
2574 .PP
2575 The \fIINSTALL\fR file for how to build Perl.
2576 .PP
2577 The \fIREADME\fR file for general stuff.
2578 .PP
2579 The \fIArtistic\fR and \fICopying\fR files for copyright information.
2580 .PP
2581 <http://dev.perl.org/perl5/errata.html> for a list of issues
2582 found after this release, as well as a list of CPAN modules known
2583 to be incompatible with this release.