X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/34153154f350f3b82aece60c34df357ea74b5732..17a3df4c6a07533e2c03c46fdd27e3ee295d61d0:/pod/perl5120delta.pod diff --git a/pod/perl5120delta.pod b/pod/perl5120delta.pod index ba6b66a..cfee564 100644 --- a/pod/perl5120delta.pod +++ b/pod/perl5120delta.pod @@ -199,9 +199,9 @@ See the documentation for C or C for more on how to specify C when creating a distribution for CPAN. -=head2 C is now more flexible +=head2 C, C, C are now more flexible -The C function can now operate on arrays. +The C, C, C function can now operate on arrays. =head2 C as a statement modifier @@ -251,7 +251,7 @@ C file for that release. To disable this feature in a given lexical scope, you should use C For information about which language features are deprecated and explanations of various deprecation warnings, please -see L. See L below for the list of features +see L. See L below for the list of features and modules Perl's developers have deprecated as part of this release. =head2 Version number formats @@ -287,12 +287,11 @@ those installed in C and C. =head2 REGEXPs are now first class -Internally, Perl now treates compiled regular expressions (such as +Internally, Perl now treats compiled regular expressions (such as those created with C) 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. Affected -modules include L,L and L. - +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 @@ -498,7 +497,8 @@ 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. +now been removed. The CPAN module C<< Filter::cpp >> can be used as an +alternative. =back @@ -589,7 +589,7 @@ 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 +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 or C perl library directories. This will @@ -605,7 +605,7 @@ 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. +just install C. =over @@ -647,7 +647,14 @@ F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, F, and -F are all now deprecated. Using them will incur a warning. +F 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 @@ -1643,7 +1650,7 @@ 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 and F directories y in the perl source has changed +the F and F directories in the perl source has changed significantly. Where possible, dual-lifed modules have been extracted from F and F. @@ -1660,7 +1667,7 @@ 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}> or C<\N{U+I}> in its -definition in UTF-8 format. (This was true previously for all occurences +definition in UTF-8 format. (This was true previously for all occurrences of C<\N{I}> that did not use a custom translator, but now it's always true.) @@ -3028,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 misbehaves in the presence of a lexical C<$_> (typically introduced by C or implicitly by C). The variable which gets set for each iteration is the package variable C<$_>, not the