This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix up \cX for 5.14
[perl5.git] / pod / perl5120delta.pod
index 1535f80..cfee564 100644 (file)
@@ -1,16 +1,19 @@
+=encoding utf8
+
 =head1 NAME
 
 perl5120delta - what is new for perl v5.12.0
 
 =head1 DESCRIPTION
 
-This document describes differences between the 5.10.0 release and
-the 5.12.0 release.
+This document describes differences between the 5.10.0 release and the
+5.12.0 release.
 
 Many of the bug fixes in 5.12.0 are already included in the 5.10.1
-maintenance release. 
+maintenance release.
 
-You can see the list of those changes in the 5.10.1 release notes (L<perl5101delta>).
+You can see the list of those changes in the 5.10.1 release notes
+(L<perl5101delta>).
 
 
 =head1 Core Enhancements
@@ -26,7 +29,7 @@ for C<our $VERSION = ...> and similar constructs. E.g.
 
 There are several advantages to this:
 
-=over 
+=over
 
 =item *
 
@@ -52,7 +55,7 @@ As it requires VERSION to be a numeric literal or v-string
 literal, it can be statically parsed by toolchain modules
 without C<eval> the way MM-E<gt>parse_version does for C<$VERSION = ...>
 
-=item *
+=back
 
 It does not break old code with only C<package NAME>, but code that uses
 C<package NAME VERSION> will need to be restricted to perl 5.12.0 or newer
@@ -60,7 +63,6 @@ This is analogous to the change to C<open> from two-args to three-args.
 Users requiring the latest Perl will benefit, and perhaps after several
 years, it will become a standard practice.
 
-=back
 
 However, C<package NAME VERSION> requires a new, 'strict' version
 number format. See L<"Version number formats"> for details.
@@ -70,7 +72,7 @@ number format. See L<"Version number formats"> for details.
 
 A new operator, C<...>, nicknamed the Yada Yada operator, has been added.
 It is intended to mark placeholder code that is not yet implemented.
-See L<perlop/"Yada Yada Operator">. (chromatic)
+See L<perlop/"Yada Yada Operator">.
 
 =head2 Implicit strictures
 
@@ -115,7 +117,7 @@ Extension modules can now cleanly hook into the Perl parser to define
 new kinds of keyword-headed expression and compound statement. The
 syntax following the keyword is defined entirely by the extension. This
 allow a completely non-Perl sublanguage to be parsed inline, with the
-correct ops cleanly generated. 
+correct ops cleanly generated.
 
 See L<perlapi/PL_keyword_plugin> for the mechanism. The Perl core
 source distribution also includes a new module
@@ -187,17 +189,23 @@ Perl now has some support for DTrace. See "DTrace support" in F<INSTALL>.
 
 =head2 Support for C<configure_requires> in CPAN module metadata
 
-Both C<CPAN> and C<CPANPLUS> now support the C<configure_requires> keyword
-in the F<META.yml> metadata file included in most recent CPAN distributions.
-This allows distribution authors to specify configuration prerequisites that
-must be installed before running F<Makefile.PL> or F<Build.PL>.
+Both C<CPAN> and C<CPANPLUS> now support the C<configure_requires>
+keyword in the F<META.yml> metadata file included in most recent CPAN
+distributions.  This allows distribution authors to specify configuration
+prerequisites that must be installed before running F<Makefile.PL>
+or F<Build.PL>.
+
+See the documentation for C<ExtUtils::MakeMaker> or C<Module::Build> for
+more on how to specify C<configure_requires> when creating a distribution
+for CPAN.
 
-See the documentation for C<ExtUtils::MakeMaker> or C<Module::Build> for more
-on how to specify C<configure_requires> when creating a distribution for CPAN.
+=head2 C<each>, C<keys>, C<values> are now more flexible
 
-=head2 C<each> is now more flexible
+The C<each>, C<keys>, C<values> function can now operate on arrays.
 
-The C<each> function can now operate on arrays.
+=head2 C<when> as a statement modifier
+
+C<when> is now allowed to be used as a statement modifier.
 
 =head2 C<$,> flexibility
 
@@ -225,21 +233,25 @@ system call.
 
 =head2 32-bit limit on substr arguments removed
 
-The 32-bit limit on C<substr> arguments has now been removed. The full range
-of the system's signed and unsigned integers is now available for the C<pos>
-and C<len> arguments.
+The 32-bit limit on C<substr> arguments has now been removed. The full
+range of the system's signed and unsigned integers is now available for
+the C<pos> and C<len> arguments.
 
 =head1 Potentially Incompatible Changes
 
 =head2 Deprecations warn by default
 
-Perl now defaults to issuing a warning if a deprecated language feature
-is used.
+Over the years, Perl's developers have deprecated a number of language
+features for a variety of reasons.  Perl now defaults to issuing a
+warning if a deprecated language feature is used. Many of the deprecations
+Perl now warns you about have been deprecated for many years.  You can
+find a list of what was deprecated in a given release of Perl in the
+C<perl5xxdelta.pod> file for that release.
 
 To disable this feature in a given lexical scope, you should use C<no
 warnings 'deprecated';> For information about which language features
 are deprecated and explanations of various deprecation warnings, please
-see L<perldiag.pod>. See L</Deprecations> below for the list of features
+see L<perldiag>. See L</Deprecations> below for the list of features
 and modules Perl's developers have deprecated as part of this release.
 
 =head2 Version number formats
@@ -272,6 +284,15 @@ version's C<site_perl> and C<vendor_perl>.  Modules installed into
 C<site_perl> and C<vendor_perl> will now be loaded in preference to
 those installed in C<ARCHLIB> and C<PRIVLIB>.
 
+
+=head2 REGEXPs are now first class
+
+Internally, Perl now treats compiled regular expressions (such as
+those created with C<qr//>) as first class entities. Perl modules which
+serialize, deserialize or otherwise have deep interaction with Perl's
+internal data structures need to be updated for this change.  Most
+affected CPAN modules have already been updated as of this writing.
+
 =head2 Switch statement changes
 
 The C<given>/C<when> switch statement handles complex statements better
@@ -291,9 +312,9 @@ Note that, as in perl 5.10.0, C<when (1..10)> will not work to test
 whether a given value is an integer between 1 and 10; you should use
 C<when ([1..10])> instead (note the array reference).
 
-However, contrary to 5.10.0, evaluating the flip-flop operators in boolean
-context ensures it can now be useful in a C<when()>, notably for
-implementing bistable conditions, like in:
+However, contrary to 5.10.0, evaluating the flip-flop operators in
+boolean context ensures it can now be useful in a C<when()>, notably
+for implementing bistable conditions, like in:
 
     when (/^=begin/ .. /^=end/) {
       # do something
@@ -390,7 +411,8 @@ if overload fallback is active, it will be used instead, as usual.)
 
 The definitions of a number of Unicode properties have changed to match
 those of the current Unicode standard. These are listed above under
-L</Unicode overhaul>. This change may break code that expects the old definitions.
+L</Unicode overhaul>. This change may break code that expects the old
+definitions.
 
 =item *
 
@@ -450,8 +472,8 @@ To support the bootstrapping process, F<miniperl> no longer builds with
 UTF-8 support in the regexp engine.
 
 This allows a build to complete with PERL_UNICODE set and a UTF-8 locale.
-Without this there's a bootstrapping problem, as miniperl can't load the UTF-8
-components of the regexp engine, because they're not yet built.
+Without this there's a bootstrapping problem, as miniperl can't load
+the UTF-8 components of the regexp engine, because they're not yet built.
 
 =item *
 
@@ -464,13 +486,20 @@ A space or a newline is now required after a C<"#line XXX"> directive.
 
 =item *
 
-Tied filehandles now have an additional method EOF which provides the EOF type
+Tied filehandles now have an additional method EOF which provides the
+EOF type.
 
 =item *
 
 To better match all other flow control statements, C<foreach> may no
 longer be used as an attribute.
 
+=item *
+
+Perl's command-line switch "-P", which was deprecated in version 5.10.0, has
+now been removed. The CPAN module C<< Filter::cpp >> can be used as an 
+alternative.
+
 =back
 
 
@@ -541,37 +570,42 @@ implementation of scopes.
 
 =item Custom character names in \N{name} that don't look like names
 
-In C<\N{I<name>}>, I<name> can be just about anything. The standard Unicode
-names have a very limited domain, but a custom name translator could create
-names that are, for example, made up entirely of punctuation symbols. It is
-now deprecated to make names that don't begin with an alphabetic character, and
-aren't alphanumeric or contain other than a very few other characters,
-namely spaces, dashes, parentheses and colons. Because of the added meaning of
-C<\N> (See L</C<\N> experimental regex escape>), names that look like curly
-brace -enclosed quantifiers won't work. For example, C<\N{3,4}> now means to
-match 3 to 4 non-newlines; before a custom name C<3,4> could have been created.
+In C<\N{I<name>}>, I<name> can be just about anything. The standard
+Unicode names have a very limited domain, but a custom name translator
+could create names that are, for example, made up entirely of punctuation
+symbols. It is now deprecated to make names that don't begin with an
+alphabetic character, and aren't alphanumeric or contain other than
+a very few other characters, namely spaces, dashes, parentheses
+and colons. Because of the added meaning of C<\N> (See L</C<\N>
+experimental regex escape>), names that look like curly brace -enclosed
+quantifiers won't work. For example, C<\N{3,4}> now means to match 3 to
+4 non-newlines; before a custom name C<3,4> could have been created.
 
 =item Deprecated Modules
 
-The following modules will be removed from the core distribution in a future
-release, and should be installed from CPAN instead. Distributions on CPAN
-which require these should add them to their prerequisites. The core versions
-of these modules warnings will issue a deprecation warning.
+The following modules will be removed from the core distribution in a
+future release, and should be installed from CPAN instead. Distributions
+on CPAN which require these should add them to their prerequisites. The
+core versions of these modules warnings will issue a deprecation warning.
 
-If you ship a packaged version of Perl, either alone or as part of a larger
-system, then you should carefully consider the reprecussions of core module
-deprecations. You may want to consider shipping your default build of
-Perl with packages for some or all deprecated modules which install into
-C<vendor> or C<site> perl library directories. This will inhibit the 
-deprecation warnings.
+If you ship a packaged version of Perl, either alone or as part of a
+larger system, then you should carefully consider the repercussions of
+core module deprecations. You may want to consider shipping your default
+build of Perl with packages for some or all deprecated modules which
+install into C<vendor> or C<site> perl library directories. This will
+inhibit the deprecation warnings.
 
 Alternatively, you may want to consider patching F<lib/deprecate.pm>
-to provide deprecation warnings specific to your packaging system or
-distribution of Perl, consistent with how your packaging system or
-distribution manages a staged transition from a release where the
-installation of a single package provides the given functionality, to a later
-release where the system administrator needs to know to install multiple
-packages to get that same functionality.
+to provide deprecation warnings specific to your packaging system
+or distribution of Perl, consistent with how your packaging system
+or distribution manages a staged transition from a release where the
+installation of a single package provides the given functionality, to
+a later release where the system administrator needs to know to install
+multiple packages to get that same functionality.
+
+You can silence these deprecation warnings by installing the modules
+in question from CPAN.  To install the latest version of all of them,
+just install C<Task::Deprecations::5_12>.
 
 =over
 
@@ -613,7 +647,14 @@ F<finddepth.pl>, F<importenv.pl>, F<hostname.pl>, F<getopts.pl>,
 F<getopt.pl>, F<getcwd.pl>, F<flush.pl>, F<fastcwd.pl>, F<exceptions.pl>,
 F<ctime.pl>, F<complete.pl>, F<cacheout.pl>, F<bigrat.pl>, F<bigint.pl>,
 F<bigfloat.pl>, F<assert.pl>, F<abbrev.pl>, F<dotsh.pl>, and
-F<timelocal.pl> are all now deprecated. Using them will incur a warning.
+F<timelocal.pl> are all now deprecated.  Earlier, Perl's developers
+intended to remove these libraries from Perl's core for the 5.14.0 release.
+
+During final testing before the release of 5.12.0, several developers
+discovered current production code using these ancient libraries, some
+inside the Perl core itself.  Accordingly, the pumpking granted them
+a stay of execution. They will begin to warn about their deprecation
+in the 5.14.0 release and will be removed in the 5.16.0 release.
 
 
 =back
@@ -629,21 +670,22 @@ default, perl does not expose Unihan, deprecated or Unicode-internal
 properties.  See below for more details on these; there is also a section
 in the pod listing them, and explaining why they are not exposed.
 
-Perl now fully supports the Unicode compound-style of using C<=> and C<:>
-in writing regular expressions: C<\p{property=value}> and
+Perl now fully supports the Unicode compound-style of using C<=>
+and C<:> in writing regular expressions: C<\p{property=value}> and
 C<\p{property:value}> (both of which mean the same thing).
 
-Perl now fully supports the Unicode loose matching rules for text
-between the braces in C<\p{...}> constructs. In addition, Perl allows
-underscores between digits of numbers.
+Perl now fully supports the Unicode loose matching rules for text between
+the braces in C<\p{...}> constructs. In addition, Perl allows underscores
+between digits of numbers.
 
-Perl now accepts all the Unicode-defined synonyms for properties and property values.
+Perl now accepts all the Unicode-defined synonyms for properties and
+property values.
 
-C<qr/\X/>, which matches a Unicode logical character, has been expanded to work
-better with various Asian languages. It now is defined as an I<extended
-grapheme cluster>. (See L<http://www.unicode.org/reports/tr29/>).
-Anything matched previously and that made sense will continue to be
-accepted.   Additionally:
+C<qr/\X/>, which matches a Unicode logical character, has
+been expanded to work better with various Asian languages. It
+now is defined as an I<extended grapheme cluster>. (See
+L<http://www.unicode.org/reports/tr29/>).  Anything matched previously
+and that made sense will continue to be accepted.   Additionally:
 
 =over
 
@@ -653,21 +695,23 @@ C<\X> will not break apart a C<S<CR LF>> sequence.
 
 =item *
 
-C<\X> will now match a sequence which includes the C<ZWJ> and C<ZWNJ> characters.
+C<\X> will now match a sequence which includes the C<ZWJ> and C<ZWNJ>
+characters.
 
 =item *
 
-C<\X> will now always match at least one character, including an initial mark.
-Marks generally come after a base character, but it is possible in Unicode to
-have them in isolation, and C<\X> will now handle that case, for example at the
-beginning of a line, or after a C<ZWSP>. And this is the part where C<\X>
-doesn't match the things that it used to that don't make sense. Formerly, for
-example, you could have the nonsensical case of an accented LF.
+C<\X> will now always match at least one character, including an initial
+mark.  Marks generally come after a base character, but it is possible in
+Unicode to have them in isolation, and C<\X> will now handle that case,
+for example at the beginning of a line, or after a C<ZWSP>. And this is
+the part where C<\X> doesn't match the things that it used to that don't
+make sense. Formerly, for example, you could have the nonsensical case
+of an accented LF.
 
 =item *
 
-C<\X> will now match a (Korean) Hangul syllable sequence, and the Thai and Lao
-exception cases.
+C<\X> will now match a (Korean) Hangul syllable sequence, and the Thai
+and Lao exception cases.
 
 =back
 
@@ -756,8 +800,6 @@ easier machine parsing. Perl can generate files in this directory for
 any property, though most are suppressed.  You can find instructions
 for changing which are written in L<perluniprops>.
 
-
-
 =head1 Modules and Pragmata
 
 =head2 New Modules and Pragmata
@@ -780,7 +822,7 @@ Version 2.024 has been added to the Perl core.
 =item C<overloading>
 
 C<overloading> allows you to lexically disable or enable overloading
-for some or all operations. (Yuval Kogman)
+for some or all operations.
 
 Version 0.001 has been added to the Perl core.
 
@@ -846,12 +888,12 @@ Upgraded from version 1.17 to 1.19.
 
 =item C<feature>
 
-In C<feature>, the meaning of the C<:5.10> and C<:5.10.X> feature bundles has
-changed slightly. The last component, if any (i.e. C<X>) is simply ignored.
-This is predicated on the assumption that new features will not, in
-general, be added to maintenance releases. So C<:5.10> and C<:5.10.X>
-have identical effect. This is a change to the behaviour documented for
-5.10.0.
+In C<feature>, the meaning of the C<:5.10> and C<:5.10.X> feature
+bundles has changed slightly. The last component, if any (i.e. C<X>) is
+simply ignored.  This is predicated on the assumption that new features
+will not, in general, be added to maintenance releases. So C<:5.10>
+and C<:5.10.X> have identical effect. This is a change to the behaviour
+documented for 5.10.0.
 
 C<feature> now includes the C<unicode_strings> feature:
 
@@ -877,8 +919,8 @@ Upgraded from version 0.5565 to 0.62.
 
 =item C<mro>
 
-C<mro> is now implemented as an XS extension. The documented interface has not
-changed. Code relying on the implementation detail that some C<mro::>
+C<mro> is now implemented as an XS extension. The documented interface has
+not changed. Code relying on the implementation detail that some C<mro::>
 methods happened to be available at all times gets to "keep both pieces".
 
 Upgraded from version 1.00 to 1.02.
@@ -899,8 +941,8 @@ Upgraded from version 1.14 to 1.32.
 
 =item C<version>
 
-C<version> now has support for L</Version number formats> as described earlier
-in this document and in its own documentation.
+C<version> now has support for L</Version number formats> as described
+earlier in this document and in its own documentation.
 
 Upgraded from version 0.74 to 0.82.
 
@@ -944,7 +986,7 @@ Upgraded from version 1.05 to 1.12.
 
 =item C<B::Deparse>
 
-Upgraded from version 0.83 to 0.94.
+Upgraded from version 0.83 to 0.96.
 
 =item C<B::Lint>
 
@@ -958,7 +1000,8 @@ Upgraded from version 3.29 to 3.48.
 
 Upgraded from version 0.33 to 0.36.
 
-NOTE: C<Class::ISA> is deprecated and may be removed from a future version of Perl.
+NOTE: C<Class::ISA> is deprecated and may be removed from a future
+version of Perl.
 
 =item C<Compress::Raw::Zlib>
 
@@ -1122,7 +1165,7 @@ Upgraded from version 0.2808_01 to 0.3603.
 
 =item C<Module::CoreList>
 
-Upgraded from version 2.12 to 2.27.
+Upgraded from version 2.12 to 2.29.
 
 =item C<Module::Load>
 
@@ -1172,7 +1215,8 @@ Upgraded from version 3.14_02 to 3.15_02.
 
 Upgraded from version 0.01 to 1.02.
 
-NOTE: C<Pod::Plainer> is deprecated and may be removed from a future version of Perl.
+NOTE: C<Pod::Plainer> is deprecated and may be removed from a future
+version of Perl.
 
 =item C<Pod::Simple>
 
@@ -1194,7 +1238,8 @@ Upgraded from version 2.18 to 2.22.
 
 Upgraded from version 2.13 to 2.16.
 
-NOTE: C<Switch> is deprecated and may be removed from a future version of Perl.
+NOTE: C<Switch> is deprecated and may be removed from a future version
+of Perl.
 
 =item C<Sys::Syslog>
 
@@ -1357,11 +1402,13 @@ See L</Deprecated Modules> above.
 
 =item *
 
-L<perlhaiku> contains instructions on how to build perl for the Haiku platform.
+L<perlhaiku> contains instructions on how to build perl for the Haiku
+platform.
 
 =item *
 
-L<perlmroapi> describes the new interface for pluggable Method Resolution Orders.
+L<perlmroapi> describes the new interface for pluggable Method Resolution
+Orders.
 
 =item *
 
@@ -1371,8 +1418,8 @@ reference to perl programs.
 
 =item *
 
-L<perlrepository> describes how to access the perl source using the I<git> version
-control system.
+L<perlrepository> describes how to access the perl source using the I<git>
+version control system.
 
 =item *
 
@@ -1389,10 +1436,10 @@ the beginnings of a document on Perl porting policies.
 
 =item *
 
-The various large F<Changes*> files (which listed every change made to perl
-over the last 18 years) have been removed, and replaced by a small file,
-also called F<Changes>, which just explains how that same information may
-be extracted from the git version control system.
+The various large F<Changes*> files (which listed every change made
+to perl over the last 18 years) have been removed, and replaced by a
+small file, also called F<Changes>, which just explains how that same
+information may be extracted from the git version control system.
 
 =item *
 
@@ -1403,10 +1450,10 @@ Information still relevant has been moved to L<perlrepository>.
 
 =item *
 
-The syntax C<unless (EXPR) BLOCK else BLOCK> is now documented as valid, as
-is the syntax C<unless (EXPR) BLOCK elsif (EXPR) BLOCK ... else BLOCK>,
-although actually using the latter may not be the best idea for the
-readability of your source code.
+The syntax C<unless (EXPR) BLOCK else BLOCK> is now documented as valid,
+as is the syntax C<unless (EXPR) BLOCK elsif (EXPR) BLOCK ... else
+BLOCK>, although actually using the latter may not be the best idea for
+the readability of your source code.
 
 
 =item *
@@ -1440,8 +1487,8 @@ Security contact information is now part of L<perlsec>.
 
 =item *
 
-A significant fraction of the core documentation has been updated to clarify
-the behavior of Perl's Unicode handling.
+A significant fraction of the core documentation has been updated to
+clarify the behavior of Perl's Unicode handling.
 
 Much of the remaining core documentation has been reviewed and edited
 for clarity, consistent use of language, and to fix the spelling of Tom
@@ -1482,16 +1529,16 @@ A new internal cache means that C<isa()> will often be faster.
 
 =item *
 
-The implementation of C<C3> Method Resolution Order has been optimised -
-linearisation for classes with single inheritance is 40% faster. Performance
-for multiple inheritance is unchanged.
+The implementation of C<C3> Method Resolution Order has been
+optimised - linearisation for classes with single inheritance is 40%
+faster. Performance for multiple inheritance is unchanged.
 
 =item *
 
 Under C<use locale>, the locale-relevant information is now cached on
 read-only values, such as the list returned by C<keys %hash>. This makes
-operations such as C<sort keys %hash> in the scope of C<use locale> much
-faster.
+operations such as C<sort keys %hash> in the scope of C<use locale>
+much faster.
 
 =item *
 
@@ -1511,11 +1558,16 @@ C<if (%foo)> has been optimized to be faster than C<if (keys %foo)>.
 
 =item *
 
+The string repetition operator (C<$str x $num>) is now several times
+faster when C<$str> has length one or C<$num> is large.
+
+=item *
+
 Reversing an array to itself (as in C<@a = reverse @a>) in void context
-now happens in-place and is several orders of magnitude faster than it
-used to be. It will also preserve non-existent elements whenever
-possible, i.e. for non magical arrays or tied arrays with C<EXISTS> and
-C<DELETE> methods.
+now happens in-place and is several orders of magnitude faster than
+it used to be. It will also preserve non-existent elements whenever
+possible, i.e. for non magical arrays or tied arrays with C<EXISTS>
+and C<DELETE> methods.
 
 =back
 
@@ -1530,8 +1582,8 @@ generated at build time, rather than being shipped as part of the release.
 
 =item *
 
-If C<vendorlib> and C<vendorarch> are the same, then they are only added to
-C<@INC> once.
+If C<vendorlib> and C<vendorarch> are the same, then they are only added
+to C<@INC> once.
 
 =item *
 
@@ -1592,13 +1644,13 @@ with Perl's source code.
 
 =item *
 
-The J.R.R. Tolkien quotes at the head of C source file have been checked and
-proper citations added, thanks to a patch from Tom Christiansen.
+The J.R.R. Tolkien quotes at the head of C source file have been checked
+and proper citations added, thanks to a patch from Tom Christiansen.
 
 =item *
 
 The internal structure of the dual-life modules traditionally found in
-the F<lib/> and F<ext/> directories in the perl source has changed
+the F<lib/> and F<ext/> directories in the perl source has changed
 significantly. Where possible, dual-lifed modules have been extracted
 from F<lib/> and F<ext/>.
 
@@ -1612,11 +1664,12 @@ bug tracker or author, rather than Perl's bug tracker.
 
 C<\N{...}> now compiles better, always forces UTF-8 internal representation
 
-Perl's developers have fixed several problems with the recognition of C<\N{...}>
-constructs.  As part of this, perl will store any scalar or regex containing
-C<\N{I<name>}> or C<\N{U+I<wide hex char>}> in its definition in
-UTF-8 format. (This was true previously for all occurences of C<\N{I<name>}>
-that did not use a custom translator, but now it's always true.)
+Perl's developers have fixed several problems with the recognition of
+C<\N{...}> constructs.  As part of this, perl will store any scalar
+or regex containing C<\N{I<name>}> or C<\N{U+I<wide hex char>}> in its
+definition in UTF-8 format. (This was true previously for all occurrences
+of C<\N{I<name>}> that did not use a custom translator, but now it's
+always true.)
 
 =item *
 
@@ -1628,13 +1681,9 @@ C<SVt_RV> no longer exists. RVs are now stored in IVs.
 
 =item *
 
-REGEXPs are now first class.
-
-=item *
-
-C<Perl_vcroak()> now accepts a null first argument. In addition, a full audit
-was made of the "not NULL" compiler annotations, and those for several
-other internal functions were corrected.
+C<Perl_vcroak()> now accepts a null first argument. In addition, a full
+audit was made of the "not NULL" compiler annotations, and those for
+several other internal functions were corrected.
 
 =item *
 
@@ -1663,9 +1712,9 @@ Two flag bits are currently supported.
 
 =item *
 
-C<SVf_UTF8> will call C<SvUTF8_on()> for you. (Note that this does not convert an
-sequence of ISO 8859-1 characters to UTF-8). A wrapper, C<newSVpvn_utf8()>
-is available for this.
+C<SVf_UTF8> will call C<SvUTF8_on()> for you. (Note that this does
+not convert an sequence of ISO 8859-1 characters to UTF-8). A wrapper,
+C<newSVpvn_utf8()> is available for this.
 
 =item *
 
@@ -1686,22 +1735,22 @@ Perl now exports the functions C<PerlIO_find_layer> and C<PerlIO_list_alloc>.
 
 =item *
 
-C<PL_na> has been exterminated from the core code, replaced by local STRLEN
-temporaries, or C<*_nolen()> calls. Either approach is faster than C<PL_na>,
-which is a pointer dereference into the interpreter structure under ithreads,
-and a global variable otherwise.
+C<PL_na> has been exterminated from the core code, replaced by local
+STRLEN temporaries, or C<*_nolen()> calls. Either approach is faster than
+C<PL_na>, which is a pointer dereference into the interpreter structure
+under ithreads, and a global variable otherwise.
 
 =item *
 
-C<Perl_mg_free()> used to leave freed memory accessible via C<SvMAGIC()> on
-the scalar. It now updates the linked list to remove each piece of magic
-as it is freed.
+C<Perl_mg_free()> used to leave freed memory accessible via C<SvMAGIC()>
+on the scalar. It now updates the linked list to remove each piece of
+magic as it is freed.
 
 =item *
 
-Under ithreads, the regex in C<PL_reg_curpm> is now reference counted. This
-eliminates a lot of hackish workarounds to cope with it not being reference
-counted.
+Under ithreads, the regex in C<PL_reg_curpm> is now reference
+counted. This eliminates a lot of hackish workarounds to cope with it
+not being reference counted.
 
 =item *
 
@@ -1716,9 +1765,9 @@ public IV or NV flags if the value is out of range for the type.
 
 =item *
 
-Uses of C<Nullav>, C<Nullcv>, C<Nullhv>, C<Nullop>, C<Nullsv> etc have been
-replaced by C<NULL> in the core code, and non-dual-life modules, as C<NULL>
-is clearer to those unfamiliar with the core code.
+Uses of C<Nullav>, C<Nullcv>, C<Nullhv>, C<Nullop>, C<Nullsv> etc have
+been replaced by C<NULL> in the core code, and non-dual-life modules,
+as C<NULL> is clearer to those unfamiliar with the core code.
 
 =item *
 
@@ -1726,8 +1775,8 @@ A macro C<MUTABLE_PTR(p)> has been added, which on (non-pedantic) gcc will
 not cast away C<const>, returning a C<void *>. Macros C<MUTABLE_SV(av)>,
 C<MUTABLE_SV(cv)> etc build on this, casting to C<AV *> etc without
 casting away C<const>. This allows proper compile-time auditing of
-C<const> correctness in the core, and helped picked up some errors (now
-fixed).
+C<const> correctness in the core, and helped picked up some errors
+(now fixed).
 
 =item *
 
@@ -1781,7 +1830,7 @@ It's now possible to override C<PERL5OPT> and friends in F<t/TEST>
 Several tests that have the potential to hang forever if they fail now
 incorporate a "watchdog" functionality that will kill them after a timeout,
 which helps ensure that C<make test> and C<make test_harness> run to
-completion automatically. (Jerry Hedden).
+completion automatically.
 
 
 =back
@@ -1812,7 +1861,8 @@ dual-lifed modules which are primarily maintained outside the Perl core.
 
 =item *
 
-F<t/porting/manifest.t> now tests that all files listed in MANIFEST are present.
+F<t/porting/manifest.t> now tests that all files listed in MANIFEST
+are present.
 
 =item *
 
@@ -1820,7 +1870,8 @@ F<t/op/while_readdir.t> tests that a bare readdir in while loop sets $_.
 
 =item *
 
-F<t/comp/retainedlines.t> checks that the debugger can retain source lines from C<eval>.
+F<t/comp/retainedlines.t> checks that the debugger can retain source
+lines from C<eval>.
 
 =item *
 
@@ -1840,12 +1891,13 @@ F<t/io/perlio.t> includes general PerlIO tests.
 
 =item *
 
-F<t/io/pvbm.t> checks that there is no unexpected interaction between the internal types
-C<PVBM> and C<PVGV>.
+F<t/io/pvbm.t> checks that there is no unexpected interaction between
+the internal types C<PVBM> and C<PVGV>.
 
 =item *
 
-F<t/mro/package_aliases.t> checks that mro works properly in the presence of aliased packages.
+F<t/mro/package_aliases.t> checks that mro works properly in the presence
+of aliased packages.
 
 =item *
 
@@ -1869,15 +1921,18 @@ F<t/op/reg_email_thr.t> tests the interaction of regex recursion and threads.
 
 =item *
 
-F<t/op/regexp_qr_embed_thr.t> tests the interaction of patterns with embedded C<qr//> and threads.
+F<t/op/regexp_qr_embed_thr.t> tests the interaction of patterns with
+embedded C<qr//> and threads.
 
 =item *
 
-F<t/op/regexp_unicode_prop.t> tests Unicode properties in regular expressions.
+F<t/op/regexp_unicode_prop.t> tests Unicode properties in regular
+expressions.
 
 =item *
 
-F<t/op/regexp_unicode_prop_thr.t> tests the interaction of Unicode properties and threads.
+F<t/op/regexp_unicode_prop_thr.t> tests the interaction of Unicode
+properties and threads.
 
 =item *
 
@@ -1885,13 +1940,12 @@ F<t/op/reg_nc_tie.t> tests the tied methods of C<Tie::Hash::NamedCapture>.
 
 =item *
 
-F<t/op/reg_posixcc.t> checks that POSIX character classes behave consistently.
+F<t/op/reg_posixcc.t> checks that POSIX character classes behave
+consistently.
 
 =item *
 
-F<t/op/re.t>
-
-checks that exportable C<re> functions in F<universal.c> work.
+F<t/op/re.t> checks that exportable C<re> functions in F<universal.c> work.
 
 =item *
 
@@ -1970,8 +2024,8 @@ that was enabled when the F<perl> binary was compiled.
 
 =item *
 
-Smartmatch resolution tracing has been added as a new diagnostic. Use C<-DM> to
-enable it.
+Smartmatch resolution tracing has been added as a new diagnostic. Use
+C<-DM> to enable it.
 
 =item *
 
@@ -2026,12 +2080,12 @@ lvalue after it has been defined.
 
 =item *
 
-Perl now warns you if C<++> or C<--> are unable to change the value because it's
-beyond the limit of representation.
+Perl now warns you if C<++> or C<--> are unable to change the value
+because it's beyond the limit of representation.
 
 This uses a new warnings category: "imprecision".
 
-=item * 
+=item *
 
 C<lc>, C<uc>, C<lcfirst>, and C<ucfirst> warn when passed undef.
 
@@ -2060,38 +2114,39 @@ C<charnames> handler returns malformed UTF-8.
 
 =item *
 
-If an unresolved named character or sequence was encountered when compiling a
-regex pattern then the fatal error C<\N{NAME} must be resolved by the lexer>
-is now produced. This can happen, for example, when using a single-quotish
-context like C<$re = '\N{SPACE}'; /$re/;>. See L<perldiag> for more examples of
-how the lexer can get bypassed.
+If an unresolved named character or sequence was encountered when
+compiling a regex pattern then the fatal error C<\N{NAME} must be resolved
+by the lexer> is now produced. This can happen, for example, when using a
+single-quotish context like C<$re = '\N{SPACE}'; /$re/;>. See L<perldiag>
+for more examples of how the lexer can get bypassed.
 
 =item *
 
-C<Invalid hexadecimal number in \N{U+...}> is a new fatal error triggered when
-the character constant represented by C<...> is not a valid hexadecimal
-number.
+C<Invalid hexadecimal number in \N{U+...}> is a new fatal error
+triggered when the character constant represented by C<...> is not a
+valid hexadecimal number.
 
 =item *
 
 The new meaning of C<\N> as C<[^\n]> is not valid in a bracketed character
-class, just like C<.> in a character class loses its special meaning, and will
-cause the fatal error C<\N in a character class must be a named character: \N{...}>.
+class, just like C<.> in a character class loses its special meaning,
+and will cause the fatal error C<\N in a character class must be a named
+character: \N{...}>.
 
 =item *
 
-The rules on what is legal for the C<...> in C<\N{...}> have been tightened
-up so that unless the C<...> begins with an alphabetic character and continues
-with a combination of alphanumerics, dashes, spaces, parentheses or colons
-then the warning C<Deprecated character(s) in \N{...} starting at '%s'> is
-now issued.
+The rules on what is legal for the C<...> in C<\N{...}> have been
+tightened up so that unless the C<...> begins with an alphabetic
+character and continues with a combination of alphanumerics, dashes,
+spaces, parentheses or colons then the warning C<Deprecated character(s)
+in \N{...} starting at '%s'> is now issued.
 
 =item *
 
-The warning C<Using just the first characters returned by \N{}> will be
-issued if the C<charnames> handler returns a sequence of characters which
-exceeds the limit of the number of characters that can be used. The message
-will indicate which characters were used and which were discarded.
+The warning C<Using just the first characters returned by \N{}> will
+be issued if the C<charnames> handler returns a sequence of characters
+which exceeds the limit of the number of characters that can be used. The
+message will indicate which characters were used and which were discarded.
 
 =back
 
@@ -2119,15 +2174,15 @@ The two warnings:
 =back
 
 have been moved from the C<syntax> top-level warnings category into a new
-first-level category, C<illegalproto>. These two warnings are currently the
-only ones emitted during parsing of an invalid/illegal prototype, so one
-can now do
+first-level category, C<illegalproto>. These two warnings are currently
+the only ones emitted during parsing of an invalid/illegal prototype,
+so one can now use
 
   no warnings 'illegalproto';
 
-to suppress only those, but not other syntax-related warnings. Warnings where
-prototypes are changed, ignored, or not met are still in the C<prototype>
-category as before. (Matt S. Trout)
+to suppress only those, but not other syntax-related warnings. Warnings
+where prototypes are changed, ignored, or not met are still in the
+C<prototype> category as before.
 
 =item *
 
@@ -2144,7 +2199,8 @@ when reporting illegal characters after _
 
 =item *
 
-mro merging error messages are now very similar to those produced by L<Algorithm::C3>.
+mro merging error messages are now very similar to those produced by
+L<Algorithm::C3>.
 
 =item *
 
@@ -2156,8 +2212,8 @@ simpler to spot and correct the suspicious character.
 
 =item *
 
-Perl now explicitly points to C<$.> when it causes an uninitialized warning for
-ranges in scalar context.
+Perl now explicitly points to C<$.> when it causes an uninitialized
+warning for ranges in scalar context.
 
 =item *
 
@@ -2209,27 +2265,28 @@ perldiag documentation has been expanded a bit.
 
 =item *
 
-Currently, all but the first of the several characters that the C<charnames>
-handler may return are discarded when used in a regular expression pattern
-bracketed character class. If this happens then the warning C<Using just the
-first character returned by \N{} in character class> will be issued.
+Currently, all but the first of the several characters that the
+C<charnames> handler may return are discarded when used in a regular
+expression pattern bracketed character class. If this happens then the
+warning C<Using just the first character returned by \N{} in character
+class> will be issued.
 
 =item *
 
-The warning C<Missing right brace on \N{} or unescaped left brace after \N.
-Assuming the latter> will be issued if Perl encounters a C<\N{> but doesn't
-find a matching C<}>. In this case Perl doesn't know if it was mistakenly
-omitted, or if "match non-newline" followed by "match a C<{>" was desired.
-It assumes the latter because that is actually a valid interpretation as
-written, unlike the other case.  If you meant the former, you need to add the
-matching right brace.  If you did mean the latter, you can silence this
-warning by writing instead C<\N\{>.
+The warning C<Missing right brace on \N{} or unescaped left brace after
+\N.  Assuming the latter> will be issued if Perl encounters a C<\N{>
+but doesn't find a matching C<}>. In this case Perl doesn't know if it
+was mistakenly omitted, or if "match non-newline" followed by "match
+a C<{>" was desired.  It assumes the latter because that is actually a
+valid interpretation as written, unlike the other case.  If you meant
+the former, you need to add the matching right brace.  If you did mean
+the latter, you can silence this warning by writing instead C<\N\{>.
 
 =item *
 
-C<gmtime> and C<localtime> called with numbers smaller than they can reliably
-handle will now issue the warnings C<gmtime(%.0f) too small> and
-C<localtime(%.0f) too small>.
+C<gmtime> and C<localtime> called with numbers smaller than they can
+reliably handle will now issue the warnings C<gmtime(%.0f) too small>
+and C<localtime(%.0f) too small>.
 
 =back
 
@@ -2261,14 +2318,13 @@ C<v-string in use/require is non-portable>
 
 =item *
 
-F<h2ph> now looks in C<include-fixed> too, which is a recent addition to gcc's
-search path.
+F<h2ph> now looks in C<include-fixed> too, which is a recent addition
+to gcc's search path.
 
 =item *
 
-F<h2xs> no longer incorrectly treats enum values like macros (Daniel Burr).
-It also now handles C++ style constants (C<//>) properly in enums. (A patch from
-Rainer Weikusat was used; Daniel Burr also proposed a similar fix).
+F<h2xs> no longer incorrectly treats enum values like macros.
+It also now handles C++ style comments (C<//>) properly in enums.
 
 =item *
 
@@ -2285,7 +2341,8 @@ its upstream bug tracker, perlbug now provide a message to the user
 explaining that the core copies the CPAN version directly, and provide
 the URL for reporting the bug directly to the upstream author.
 
-F<perlbug> no longer reports "Message sent" when it hasn't actually sent the message
+F<perlbug> no longer reports "Message sent" when it hasn't actually sent
+the message
 
 =item *
 
@@ -2297,7 +2354,8 @@ out F<perlthanks>. It will make the developers smile.
 =item *
 
 Perl's developers have fixed bugs in F<a2p> having to do with the
-C<match()> operator in list context.
+C<match()> operator in list context.  Additionally, F<a2p> no longer
+generates code that uses the C<$[> variable.
 
 =back
 
@@ -2313,23 +2371,24 @@ U+0FFFF is now a legal character in regular expressions.
 
 pp_qr now always returns a new regexp SV. Resolves RT #69852.
 
-Instead of returning a(nother) reference to the (pre-compiled) regexp in the
-optree, use reg_temp_copy() to create a copy of it, and return a reference to
-that. This resolves issues about Regexp::DESTROY not being called in a timely
-fashion (the original bug tracked by RT #69852), as well as bugs related to
-blessing regexps, and of assigning to regexps, as described in correspondence
-added to the ticket.
+Instead of returning a(nother) reference to the (pre-compiled) regexp
+in the optree, use reg_temp_copy() to create a copy of it, and return a
+reference to that. This resolves issues about Regexp::DESTROY not being
+called in a timely fashion (the original bug tracked by RT #69852), as
+well as bugs related to blessing regexps, and of assigning to regexps,
+as described in correspondence added to the ticket.
 
 It transpires that we also need to undo the SvPVX() sharing when ithreads
-cloning a Regexp SV, because mother_re is set to NULL, instead of a cloned
-copy of the mother_re. This change might fix bugs with regexps and threads in
-certain other situations, but as yet neither tests nor bug reports have
-indicated any problems, so it might not actually be an edge case that it's
-possible to reach.
+cloning a Regexp SV, because mother_re is set to NULL, instead of a
+cloned copy of the mother_re. This change might fix bugs with regexps
+and threads in certain other situations, but as yet neither tests nor
+bug reports have indicated any problems, so it might not actually be an
+edge case that it's possible to reach.
 
 =item *
 
-Several compilation errors and segfaults when perl was built with C<-Dmad> were fixed.
+Several compilation errors and segfaults when perl was built with C<-Dmad>
+were fixed.
 
 =item *
 
@@ -2339,9 +2398,9 @@ Fixes for lexer API changes in 5.11.2 which broke NYTProf's savesrc option.
 
 C<-t> should only return TRUE for file handles connected to a TTY
 
-The Microsoft C version of C<isatty()> returns TRUE for all
-character mode devices, including the F</dev/null>-style "nul"
-device and printers like "lpt1".
+The Microsoft C version of C<isatty()> returns TRUE for all character mode
+devices, including the F</dev/null>-style "nul" device and printers like
+"lpt1".
 
 =item *
 
@@ -2369,8 +2428,8 @@ matching again.
 
 =item *
 
-Using named subroutines with C<sort> should no longer lead to bus errors [perl
-#71076]
+Using named subroutines with C<sort> should no longer lead to bus errors
+[perl #71076]
 
 =item *
 
@@ -2469,8 +2528,8 @@ XS code including F<XSUB.h> before F<perl.h> gave a compile-time error
 
 =item *
 
-C<< $object-E<gt>isa('Foo') >> would report false if the package C<Foo> didn't
-exist, even if the object's C<@ISA> contained C<Foo>.
+C<< $object-E<gt>isa('Foo') >> would report false if the package C<Foo>
+didn't exist, even if the object's C<@ISA> contained C<Foo>.
 
 =item *
 
@@ -2550,8 +2609,8 @@ C<Can't coerce GLOB to I<$type>>.
 
 =item *
 
-Under C<use filetest 'access'>, C<-x> was using the wrong access mode. This
-has been fixed [RT #49003].
+Under C<use filetest 'access'>, C<-x> was using the wrong access
+mode. This has been fixed [RT #49003].
 
 =item *
 
@@ -2672,7 +2731,8 @@ or cause the following assertion failure [RT #60508]:
 
 =item *
 
-Perl now includes previously missing files from the Unicode Character Database.
+Perl now includes previously missing files from the Unicode Character
+Database.
 
 =item *
 
@@ -2694,8 +2754,8 @@ time, it's time to bid farewell to some (very) old friends.
 
 =item Haiku
 
-Perl's developers have merged patches from Haiku's maintainers. Perl should now
-build on Haiku.
+Perl's developers have merged patches from Haiku's maintainers. Perl
+should now build on Haiku.
 
 =item MirOS BSD
 
@@ -2707,7 +2767,7 @@ Perl should now build on MirOS BSD.
 
 =over
 
-=item DomainOS
+=item Domain/OS
 
 =item MiNT
 
@@ -2725,13 +2785,14 @@ Perl should now build on MirOS BSD.
 
 =item *
 
-Removed F<libbsd> for AIX 5L and 6.1. Only C<flock()> was used from F<libbsd>.
+Removed F<libbsd> for AIX 5L and 6.1. Only C<flock()> was used from
+F<libbsd>.
 
 =item *
 
-Removed F<libgdbm> for AIX 5L and 6.1 if F<libgdbm> < 1.8.3-5 is installed.
-The F<libgdbm> is delivered as an optional package with the AIX Toolbox.
-Unfortunately the versions below 1.8.3-5 are broken.
+Removed F<libgdbm> for AIX 5L and 6.1 if F<libgdbm> < 1.8.3-5 is
+installed.  The F<libgdbm> is delivered as an optional package with the
+AIX Toolbox.  Unfortunately the versions below 1.8.3-5 are broken.
 
 =item *
 
@@ -2821,10 +2882,10 @@ Hints now supports versions 5.*.
 
 C<-UDEBUGGING> is now the default on VMS.
 
-Like it has been everywhere else for ages and ages. Also make
-command-line selection of -UDEBUGGING and -DDEBUGGING work in
-configure.com; before the only way to turn it off was by saying
-no in answer to the interactive question.
+Like it has been everywhere else for ages and ages. Also make command-line
+selection of -UDEBUGGING and -DDEBUGGING work in configure.com; before
+the only way to turn it off was by saying no in answer to the interactive
+question.
 
 =item *
 
@@ -2974,6 +3035,14 @@ from either 5.10.x or 5.8.x.
 
 =item *
 
+Some CPANPLUS tests may fail if there is a functioning file
+F<../../cpanp-run-perl> outside your build directory. The failure
+shouldn't imply there's a problem with the actual functional
+software. The bug is already fixed in [RT #74188] and is scheduled for
+inclusion in perl-v5.12.1.
+
+=item *
+
 C<List::Util::first> misbehaves in the presence of a lexical C<$_>
 (typically introduced by C<my $_> or implicitly by C<given>). The variable
 which gets set for each iteration is the package variable C<$_>, not the
@@ -3023,7 +3092,7 @@ in a change of behaviour between 5.8.x and 5.10.0:
 
 Perl 5.12.0 represents approximately two years of development since
 Perl 5.10.0 and contains over 750,000 lines of changes across over
-3000 files from over 200 authors and committers.
+3,000 files from over 200 authors and committers.
 
 Perl continues to flourish into its third decade thanks to a vibrant
 community of users and developers.  The following people are known to
@@ -3077,6 +3146,16 @@ versions of Perl that helped make Perl 5.12.0 better. For a more complete
 list of all of Perl's historical contributors, please see the C<AUTHORS>
 file in the Perl 5.12.0 distribution.
 
+Our "retired" pumpkings Nicholas Clark and Rafael Garcia-Suarez
+deserve special thanks for their brilliant and substantive ongoing
+contributions. Nicholas personally authored over 30% of the patches
+since 5.10.0. Rafael comes in second in patch authorship with 11%,
+but is first by a long shot in committing patches authored by others,
+pushing 44% of the commits since 5.10.0 in this category, often after
+providing considerable coaching to the patch authors. These statistics
+in no way comprise all of their contributions, but express in shorthand
+that we couldn't have done it without them.
+
 Many of the changes included in this version originated in the CPAN
 modules included in Perl's core. We're grateful to the entire CPAN
 community for helping Perl to flourish.
@@ -3115,4 +3194,8 @@ The F<README> file for general stuff.
 
 The F<Artistic> and F<Copying> files for copyright information.
 
+L<http://dev.perl.org/perl5/errata.html> for a list of issues
+found after this release, as well as a list of CPAN modules known
+to be incompatible with this release.
+
 =cut