Debian Codegraph @

upstream/debian-unstable/man1/perl5120delta.1

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