This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make qr/(?{ __SUB__ })/ safe
[perl5.git] / pod / perldelta.pod
index e9ce9ce..c3895a0 100644 (file)
 
 =head1 NAME
 
-perldelta - what is new for perl v5.17.10
+perldelta - what is new for perl v5.17.11
 
 =head1 DESCRIPTION
 
-This document describes differences between the 5.17.9 release and the 5.17.10
+This document describes differences between the 5.17.10 release and the 5.17.11
 release.
 
-If you are upgrading from an earlier release such as 5.17.8, first read
-L<perl5179delta>, which describes differences between 5.17.8 and 5.17.9.
-
-=head1 Notice
-
-=head1 Core Enhancements
-
-=head1 Security
-
-=head2 Hash iteration randomized per hash variable
-
-Every hash has its own iteration order, which
-should make it much more difficult to determine what the current hash
-seed is.
+If you are upgrading from an earlier release such as 5.17.9, first read
+L<perl51710delta>, which describes differences between 5.17.9 and 5.17.10.
 
 =head1 Incompatible Changes
 
-=head2 Explicit rules for variable names and identifiers
-
-Due to an oversight, length-one variable names in 5.16 were completely
-unrestricted, and opened the door to several kinds of insanity.  As of
-5.18, these now follow the rules of other identifiers, in addition
-to accepting characters that match the \p{POSIX_Punct} property.
-
-There are no longer any differences in the parsing of identifiers specified
-as $... or ${...}; previously, they were dealt with in different parts of
-the core, and so had slightly different behavior. For instance,
-C<${foo:bar}> was a legal variable name.  Since they are now both parsed
-by the same code, that is no longer the case.
-
-[ List each incompatible change as a =head2 entry ]
-
-=head1 Deprecations
-
-=head2 PL_sv_objcount
-
-This interpreter-global variable used to track the total number of
-Perl objects in the interpreter. It is no longer maintained and will
-be removed altogether in Perl 5.20.
-
-=head1 Performance Enhancements
+Although no major incompatibilities have been introduced, the "switch" family
+of features have been marked experimental and will now emit warnings.  These
+are:  the C<~~> operator, C<given>, and C<when>.
 
 =head1 Modules and Pragmata
 
-XXX All changes to installed files in F<cpan/>, F<dist/>, F<ext/> and F<lib/>
-go here.  If Module::CoreList is updated, generate an initial draft of the
-following sections using F<Porting/corelist-perldelta.pl>, which prints stub
-entries to STDOUT.  Results can be pasted in place of the '=head2' entries
-below.  A paragraph summary for important changes should then be added by hand.
-In an ideal world, dual-life modules would have a F<Changes> file that could be
-cribbed.
-
-[ Within each section, list entries as a =item entry ]
-
-=head2 New Modules and Pragmata
-
-=over 4
-
-=item *
-
-L<Config::Perl::V> 0.17 has been added to the Perl core.
-
-=back
-
 =head2 Updated Modules and Pragmata
 
 =over 4
 
 =item *
 
-L<Archive::Extract> has been upgraded from version 0.62 to 0.68.
-
-NOTE: L<Archive::Extract> is deprecated and may be removed from a future version of Perl.
-
-=item *
-
-L<Attribute::Handlers> has been upgraded from version 0.93 to 0.94.
-
-=item *
-
-L<B::Lint> has been upgraded from version 1.14 to 1.17.
-
-NOTE: L<B::Lint> is deprecated and may be removed from a future version of Perl.
-
-=item *
-
-L<Benchmark> has been upgraded from version 1.14 to 1.15.
-
-This reverts (for now) a change in 1.14 whereby the "too few iterations"
-message became a warning on STDERR instead of being output on STDOUT. It's
-now on STDOUT again.
-
-=item *
-
-L<bignum> has been upgraded from version 0.31 to 0.32.
-
-=item *
-
-L<CPAN> has been upgraded from version 1.99_51 to 2.00.
-
-=item *
-
-L<CPANPLUS> has been upgraded from version 0.9133 to 0.9135.
-
-NOTE: L<CPANPLUS> is deprecated and may be removed from a future version of Perl.
-
-=item *
-
-L<CPANPLUS::Dist::Build> has been upgraded from version 0.68 to 0.70.
-
-NOTE: L<CPANPLUS::Dist::Build> is deprecated and may be removed from a future version of Perl.
-
-=item *
-
-L<Data::Dumper> has been upgraded from version 2.141 to 2.142.
-
-=item *
-
-L<DBM_Filter> has been upgraded from version 0.04 to 0.05.
-
-=item *
-
-L<Digest::SHA> has been upgraded from version 5.81 to 5.82.
-
-=item *
-
-L<Encode> has been upgraded from version 2.47 to 2.48.
-
-=item *
-
-L<ExtUtils::Manifest> has been upgraded from version 1.62 to 1.63.
-
-=item *
-
-L<File::CheckTree> has been upgraded from version 4.41 to 4.42.
-
-=item *
-
-L<File::DosGlob> has been upgraded from version 1.09 to 1.10.
-
-=item *
-
-L<File::Temp> has been upgraded from version 0.22 to 0.22_90.
-
-=item *
-
-L<Filter::Simple> has been upgraded from version 0.88 to 0.89.
-
-=item *
-
-L<IO> has been upgraded from version 1.26 to 1.27.
-
-=item *
-
-L<Log::Message> has been upgraded from version 0.04 to 0.06.
-
-NOTE: L<Log::Message> is deprecated and may be removed from a future version of Perl.
-
-=item *
-
-L<Log::Message::Simple> has been upgraded from version 0.08 to 0.10.
-
-NOTE: L<Log::Message::Simple> is deprecated and may be removed from a future version of Perl.
-
-=item *
-
-L<Math::BigInt> has been upgraded from version 1.998 to 1.999.
-
-=item *
-
-L<Module::CoreList> has been upgraded from version 2.80 to 2.82.
-
-=item *
-
-L<Module::Load> has been upgraded from version 0.22 to 0.24.
-
-=item *
-
-L<Module::Pluggable> has been upgraded from version 4.5 to 4.6.
-
-NOTE: L<Module::Pluggable> is deprecated and may be removed from a future version of Perl.
-
-=item *
-
-L<Net::Ping> has been upgraded from version 2.39 to 2.41.
-
-This fixes some test failures on Windows.
-
-=item *
-
-L<Object::Accessor> has been upgraded from version 0.44 to 0.46.
-
-NOTE: L<Object::Accessor> is deprecated and may be removed from a future version of Perl.
-
-=item *
-
-L<overload> has been upgraded from version 1.20 to 1.21.
-
-=item *
-
-L<Perl::OSType> has been upgraded from version 1.002 to 1.003.
-
-This fixes a bug detecting the VOS operating system.
-
-=item *
-
-L<PerlIO::scalar> has been upgraded from version 0.15 to 0.16.
-
-=item *
-
-L<Pod::Checker> has been upgraded from version 1.51 to 1.60.
+Fixed the merge of ExtUtils-MakeMaker 6.65_01 to remove an excluded
+file.  This was causing a test failure on Win32 [perl #117477]
 
 =item *
 
-L<Pod::Html> has been upgraded from version 1.17 to 1.18.
+B::Deparse has been upgraded from version 1.19 to 1.20, adding stub deparsing
+for lexical subroutines.
 
 =item *
 
-L<Pod::Parser> has been upgraded from version 1.51 to 1.60.
+bigint has been upgraded from version 0.33 to 0.34.
 
 =item *
 
-L<Pod::Perldoc> has been upgraded from version 3.17 to 3.19.
+CPAN has been upgraded from its trial 2.00 release to its final 2.00 release.
 
 =item *
 
-L<Pod::Usage> has been upgraded from version 1.51 to 1.61.
+Exporter has been upgraded from version 5.67 to 5.68.
 
 =item *
 
-L<SelfLoader> has been upgraded from version 1.20 to 1.21.
-
-=item *
-
-L<Term::UI> has been upgraded from version 0.32 to 0.34.
-
-NOTE: L<Term::UI> is deprecated and may be removed from a future version of Perl.
+ExtUtils::CBuilder has been upgraded from version 0.280209 to 0.280210.
 
 =item *
 
-L<Test::Harness> has been upgraded from version 3.25_01 to 3.26.
+ExtUtils::MakeMaker has been upgraded from version 6.65_01 to 6.66.
 
 =item *
 
-L<Text::Soundex> has been upgraded from version 3.03_01 to 3.04.
+IO has been upgraded from version 1.27 to 1.28.
 
 =item *
 
-L<Thread::Queue> has been upgraded from version 3.01 to 3.02.
+overload has been upgraded from version 1.21 to 1.22.
 
 =item *
 
-L<Unicode::UCD> has been upgraded from version 0.47 to 0.50.
+Storable has been upgraded from version 2.40 to 2.41.
 
 =item *
 
-L<warnings> has been upgraded from version 1.16 to 1.17.
-
-=item *
-
-L<Win32> has been upgraded from version 0.45 to 0.46.
-
-=item *
-
-L<Win32API::File> has been upgraded from version 0.1200 to 0.1201.
+warnings has been upgraded from version 1.17 to 1.18.
 
 =back
 
-=head1 Documentation
-
 =head2 Changes to Existing Documentation
 
-=head3 L<perlrebackslash/\N>
-
-=over 4
-
-=item *
+=head3 Asian-language documentation
 
-This feature is no longer experimental.
-
-=back
+The Asian-language documentation, previously stored in a few different
+encodings, have been transcoded to UTF-8.
 
 =head1 Diagnostics
 
@@ -297,59 +85,39 @@ The following additions or changes have been made to diagnostic output,
 including warnings and fatal error messages.  For the complete list of
 diagnostic messages, see L<perldiag>.
 
-=head2 New Diagnostics
-
 =head3 New Warnings
 
 =over 4
 
 =item *
 
-L%c* is deprecated, and will become a syntax error|perldiag/"%c* is deprecated, and will become a syntax error">
+L<Smartmatch is experimental|perldiag/"Smartmatch is experimental">
 
-Use of C<@*>, C<&*>, C<**> or C<%*> is now deprecated, and will generate a
-compile time warning, enabled by default.  In future such code will fail to
-compile with a syntax error.  Removing these variables, along with C<$*>,
-will permit future syntax additions.
-
-=back
-
-=head2 Changes to Existing Diagnostics
+=item *
 
-=over 4
+L<given is experimental|perldiag/"given is experimental">
 
 =item *
 
-L<$* is no longer supported, and will become a syntax error|perldiag/"$* is no longer supported, and will become a syntax error">
-
-The warning that use of C<$*> and C<$#> is no longer supported is now
-generated for every location that references them.  Previously it would fail
-to be generated if another variable using the same typeglob was seen first
-(e.g. C<@*> before C<$*>), and would not be generated for the second and
-subsequent uses.  (It's hard to fix the failure to generate warnings at all
-without also generating them every time, and warning every time is
-consistent with the warnings that C<$[> used to generate.)
+L<when is experimental|perldiag/"when is experimental">
 
 =back
 
-=head1 Internal Changes
+=head1 Platform Support
 
-=over 4
+=head2 Platform-Specific Notes
 
-=item *
+=over 4
 
-The new copy-on-write mechanism that was introduced in 5.17.7 has now been
-disabled by default, since it was felt that there were too many rough
-edges for the 5.18 release. It is expected that it will be enabled by
-default for 5.20.
+=item VMS
 
-This change also re-enables PL_sawampersand by default.
+As of 5.18.0, Perl on VMS can (at last) be built in and installed from a
+directory having dots in the name, so it is no longer necessary to rename the
+top-level source directory before building.
 
-It can be enabled in a perl build by running F<Configure> with
-B<-Accflags=-DPERL_NEW_COPY_ON_WRITE>, and we would encourage XS authors to
-try their code with such an enabled perl, and provide feedback.
-XXX need blurb, e.g. a reference to a new section in perlguts or perlxs
-explaining how XS authors should handle COW strings.
+The pertinent instructions have been removed from README.vms, so we also no
+longer need to update the version number that was embedded in those
+instructions.
 
 =back
 
@@ -357,32 +125,36 @@ explaining how XS authors should handle COW strings.
 
 =over 4
 
-=item *
+=item Make vms.c's Perl_flex_fstat preserve errno on success
 
-Fix two crashes in the debugger when using Frame=2 or autotrace.  These are
-[perl #116769] and [perl #116771].
+=item split's first argument is more consistently interpreted
+
+After some changes earlier in 5.17, C<split>'s behavior has been simplified: if
+the PATTERN argument evaluates to a literal string containing one space, it is
+treated the way that a I<literal> string containing one space once was.
+
+=item Handle overloading properly in compile-time regex
+
+C<(?{…})> and C<qr> constant overloading did not play nicely together, and when
+C<qr> constant overloading was in effect, C<qr> constructs inside a C<(?{…})>
+construct were incorrectly interpreted. [perl #116823]
 
 =back
 
 =head1 Acknowledgements
 
-Perl 5.17.10 represents approximately 4 weeks of development since Perl 5.17.9
-and contains approximately 77,000 lines of changes across 440 files from 42
+Perl 5.17.11 represents approximately 4 weeks of development since Perl 5.17.10
+and contains approximately 3,800 lines of changes across 130 files from 17
 authors.
 
 Perl continues to flourish into its third decade thanks to a vibrant community
 of users and developers. The following people are known to have contributed the
-improvements that became Perl 5.17.10:
-
-Aaron Crane, Aaron Trevena, Andrew Tam, Andy Dougherty, Anton Nikishaev, Brad
-Gilbert, Brian Fraser, Charlie Gonzalez, Chris 'BinGOs' Williams, Craig A.
-Berry, Daniel Dragan, David Golden, David Mitchell, Dominic Hargreaves, Florian
-Ragwitz, George Greer, H.Merijn Brand, James E Keenan, Jasmine Ahuja, John
-Goodyear, John Peacock, Karl Williamson, Kent Fredric, Lukas Mai, Max
-Maischein, Nicholas Clark, Patrik Hägglund, Paul Green, Peter Martini, Rafael
-Garcia-Suarez, Renee Baecker, Ricardo Signes, Ruslan Zakirov, Salvador
-Fandiño, Scott Lanning, Shirakata Kentaro, Steffen Müller, Steve Hay, Steve
-Peters, Sullivan Beck, Tony Cook, Yves Orton.
+improvements that became Perl 5.17.11:
+
+Aaron Crane, Andy Dougherty, Brian Fraser, Chris 'BinGOs' Williams, Craig A.
+Berry, David Mitchell, François Perrad, James E Keenan, Jan Dubois, Karl
+Williamson, Leon Timmermans, Max Maischein, Moritz Lenz, Nicholas Clark,
+Ricardo Signes, Tony Cook, Yves Orton.
 
 The list above is almost certainly incomplete as it is automatically generated
 from version control history. In particular, it does not include the names of