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