This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document that there are bugs with EBCDIC and regexes
[perl5.git] / pod / perl5110delta.pod
index 7c66896..1b722ed 100644 (file)
@@ -1,3 +1,5 @@
+=encoding utf8
+
 =head1 NAME
 
 perl5110delta - what is new for perl v5.11.0
@@ -9,13 +11,71 @@ the 5.11.0 development release.
 
 =head1 Incompatible Changes
 
-=head2 In @INC, move ARCHLIB and PRIVLIB after the current version's site_perl and vendor_perl.
+=head2 Unicode interpretation of \w, \d, \s, and the POSIX character classes redefined.
+
+Previous versions of Perl tried to map POSIX style character class definitions onto
+Unicode property names so that patterns would "dwim" when matches were made against latin-1 or
+unicode strings. This proved to be a mistake, breaking character class negation, causing
+forward compatibility problems (as Unicode keeps updating their property definitions and adding
+new characters), and other problems.
+
+Therefore we have now defined a new set of artificial "unicode" property names which will be
+used to do unicode matching of patterns using POSIX style character classes and perl short-form
+escape character classes like \w and \d.
+
+The key change here is that \d will no longer match every digit in the unicode standard
+(there are thousands) nor will \w match every word character in the standard, instead they
+will match precisely their POSIX or Perl definition.
+
+Those needing to match based on Unicode properties can continue to do so by using the \p{} syntax
+to match whichever property they like, including the new artificial definitions.
+
+B<NOTE:> This is a backwards incompatible no-warning change in behaviour. If you are upgrading
+and you process large volumes of text look for POSIX and Perl style character classes and
+change them to the relevent property name (by removing the word 'Posix' from the current name).
+
+The following table maps the POSIX character class names, the escapes and the old and new
+Unicode property mappings:
+
+    POSIX  Esc  Class               New-Property  ! Old-Property
+    ----------------------------------------------+-------------
+    alnum       [0-9A-Za-z]         IsPosixAlnum  ! IsAlnum
+    alpha       [A-Za-z]            IsPosixAlpha  ! IsAlpha
+    ascii       [\000-\177]         IsASCII       = IsASCII
+    blank       [\011 ]             IsPosixBlank  !
+    cntrl       [\0-\37\177]        IsPosixCntrl  ! IsCntrl
+    digit   \d  [0-9]               IsPosixDigit  ! IsDigit
+    graph       [!-~]               IsPosixGraph  ! IsGraph
+    lower       [a-z]               IsPosixLower  ! IsLower
+    print       [ -~]               IsPosixPrint  ! IsPrint
+    punct       [!-/:-@[-`{-~]      IsPosixPunct  ! IsPunct
+    space       [\11-\15 ]          IsPosixSpace  ! IsSpace
+            \s  [\11\12\14\15 ]     IsPerlSpace   ! IsSpacePerl
+    upper       [A-Z]               IsPosixUpper  ! IsUpper
+    word    \w  [0-9A-Z_a-z]        IsPerlWord    ! IsWord
+    xdigit      [0-9A-Fa-f]         IsXDigit      = IsXDigit
+
+If you wish to build perl with the old mapping you may do so by setting
+
+       #define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS 1
+
+in regcomp.h, and then setting
+
+       PERL_TEST_LEGACY_POSIX_CC
 
+to true your enviornment when testing.
+
+
+=head2 @INC reorganization
+
+In @INC, ARCHLIB and PRIVLIB now occur after after the current version's
+site_perl and vendor_perl.
 
 =head2 Switch statement changes
 
 The handling of complex expressions by the C<given>/C<when> switch
-statement has been enhanced. There are two new cases where C<when> now
+statement has been enhanced. These enhancements are also available in
+5.10.1 and subsequent 5.10 releases. There are two new cases where C<when> now
 interprets its argument as a boolean, instead of an expression to be used
 in a smart match:
 
@@ -50,6 +110,8 @@ to the regular or operator, as in C<when (expr1 || expr2)>.)
 The next section details more changes brought to the semantics to
 the smart match operator, that naturally also modify the behaviour
 of the switch statements where smart matching is implicitly used.
+These changers were also made for the 5.10.1 release, and will remain in
+subsequent 5.10 releases.
 
 =head2 Smart match changes
 
@@ -125,7 +187,7 @@ Labels used as targets for the C<goto>, C<last>, C<next> or C<redo>
 statements cannot be keywords anymore. This restriction will prevent
 potential confusion between the C<goto LABEL> and C<goto EXPR> syntaxes:
 for example, a statement like C<goto print> would jump to a label whose
-name would be the return value of print(), (usually 1), instead of a
+name would be the return value of C<print()>, (usually 1), instead of a
 label named C<print>. Moreover, the other control flow statements
 would just ignore any keyword passed to them as a label name. Since
 such labels cannot be defined anymore, this kind of error will be
@@ -160,12 +222,12 @@ of the output of C<perl -V>. See L<perlrepository> for more information.
 The internal structure of the C<ext/> directory in the perl source has
 been reorganised. In general, a module C<Foo::Bar> whose source was
 stored under F<ext/Foo/Bar/> is now located under F<ext/Foo-Bar/>. Also,
-some modules have been moved from F<lib/> to F<ext/>. This is purely a
-source tarball change, and should make no difference to the compilation or
-installation of perl, unless you have a very customised build process that
-explicitly relies on this structure, or which hard-codes the C<nonxs_ext>
-F<Configure> parameter. Specifically, this change does not by default
-alter the location of any files in the final installation.
+nearly all dual-life modules have been moved from F<lib/> to F<ext/>. This
+is purely a source tarball change, and should make no difference to the
+compilation or installation of perl, unless you have a very customised build
+process that explicitly relies on this structure, or which hard-codes the
+C<nonxs_ext> F<Configure> parameter. Specifically, this change does not by
+default alter the location of any files in the final installation.
 
 =item *
 
@@ -198,20 +260,50 @@ in a change of behaviour between 5.8.x and 5.10.0:
 
 C<length undef> now returns undef.
 
+=item *
+
+Unsupported private C API functions are now declared "static" to prevent
+leakage to Perl's public API.
+
+=item *
+
+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.
+
+=item *
+
+F<miniperl>'s @INC is now restricted to just -I..., the split of $ENV{PERL5LIB}, and "."
+
+=item *
+
+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
+
+=item *
+
+To better match all other flow control statements, C<foreach> may no longer be used as an attribute.
+
 =back
 
 =head1 Core Enhancements
 
 =head2 Unicode Character Database 5.1.0
 
-The copy of the Unicode Character Database included in Perl 5.10.1 has
+The copy of the Unicode Character Database included in Perl 5.11.0 has
 been updated to 5.1.0 from 5.0.0. See
 L<http://www.unicode.org/versions/Unicode5.1.0/#Notable_Changes> for the
 notable changes.
 
 =head2 A proper interface for pluggable Method Resolution Orders
 
-As of Perl 5.10.1 there is a new interface for plugging and using method
+As of Perl 5.11.0 there is a new interface for plugging and using method
 resolution orders other than the default (linear depth first search).
 The C3 method resolution order added in 5.10.0 has been re-implemented as
 a plugin, without changing its Perl-space interface. See L<perlmroapi> for
@@ -274,693 +366,150 @@ Some support for DTrace has been added. 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 C<META.yml> metadata file included in most recent CPAN distributions.
+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.
 
-=head2 The C<each> function can now operate on arrays
-
-=head2 Perl's core time-related functions are now Y2038 compliand
-
-=head2 The variable C<$,> may now be tied
-
-=head2 // now behaves like || in when clauses
-
-=head2 You can now set C<-W> from the C<PERL5OPT> environment varialbe
-
-
-
-=head1 Modules and Pragmata
-
-=head2 New Modules and Pragmata
-
-=over 4
-
-=item C<autodie>
-
-This is a new lexically-scoped alternative for the C<Fatal> module.
-The bundled version is 2.06_01. Note that in this release, using a string
-eval when C<autodie> is in effect can cause the autodie behaviour to leak
-into the surrounding scope. See L<autodie/"BUGS"> for more details.
-
-=item C<Compress::Raw::Bzip2>
-
-This has been added to the core (version 2.020).
-
-=item C<parent>
-
-This pragma establishes an ISA relationship with base classes at compile
-time. It provides the key feature of C<base> without the feature creep.
-
-=item C<Parse::CPAN::Meta>
-
-This has been added to the core (version 1.39).
-
-=back
-
-=head2 Pragmata Changes
-
-=over 4
-
-=item C<overloading>
-
-See L</"The C<overloading> pragma"> above.
-
-=item C<attributes>
-
-Upgraded from version 0.08 to 0.09.
-
-=item C<attrs>
-
-Upgraded from version 1.02 to 1.03.
-
-=item C<base>
-
-Upgraded from version 2.13 to 2.14. See L<parent> for a replacement.
-
-=item C<bigint>
-
-Upgraded from version 0.22 to 0.23.
-
-=item C<bignum>
-
-Upgraded from version 0.22 to 0.23.
-
-=item C<bigrat>
-
-Upgraded from version 0.22 to 0.23.
-
-=item C<charnames>
-
-Upgraded from version 1.06 to 1.07.
-
-The Unicode F<NameAliases.txt> database file has been added. This has the
-effect of adding some extra C<\N> character names that formerly wouldn't
-have been recognised; for example, C<"\N{LATIN CAPITAL LETTER GHA}">.
-
-=item C<constant>
-
-Upgraded from version 1.13 to 1.17.
-
-=item 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.
-
-=item C<fields>
-
-Upgraded from version 2.13 to 2.14 (this was just a version bump; there
-were no functional changes).
-
-=item C<lib>
-
-Upgraded from version 0.5565 to 0.62.
-
-=item C<open>
-
-Upgraded from version 1.06 to 1.07.
-
-=item C<overload>
-
-Upgraded from version 1.06 to 1.07.
-
-=item C<overloading>
-
-See L</"The C<overloading> pragma"> above.
-
-=item C<version>
-
-Upgraded from version 0.74 to 0.77.
-
-=back
-
-=head2 Updated Modules
-
-=over 4
-
-=item C<Archive::Extract>
-
-Upgraded from version 0.24 to 0.34.
-
-=item C<Archive::Tar>
-
-Upgraded from version 1.38 to 1.52.
-
-=item C<Attribute::Handlers>
-
-Upgraded from version 0.79 to 0.85.
-
-=item C<AutoLoader>
-
-Upgraded from version 5.63 to 5.68.
-
-=item C<AutoSplit>
-
-Upgraded from version 1.05 to 1.06.
-
-=item C<B>
-
-Upgraded from version 1.17 to 1.22.
-
-=item C<B::Debug>
-
-Upgraded from version 1.05 to 1.11.
-
-=item C<B::Deparse>
-
-Upgraded from version 0.83 to 0.89.
-
-=item C<B::Lint>
-
-Upgraded from version 1.09 to 1.11.
-
-=item C<B::Xref>
-
-Upgraded from version 1.01 to 1.02.
-
-=item C<Benchmark>
-
-Upgraded from version 1.10 to 1.11.
-
-=item C<Carp>
-
-Upgraded from version 1.08 to 1.11.
-
-L<Carp> now includes all the necessary code to function. Previously, it
-used to be a lightweight placeholder that loaded the actual code from
-C<Carp::Heavy> on demand. C<Carp::Heavy> is now a simple, empty module
-kept for backwards compatibility for programs that used to pre-load it.
-
-
-=item C<CGI>
-
-Upgraded from version 3.29 to 3.43.
-(also includes the "default_value for popup_menu()" fix from 3.45).
-
-=item C<Compress::Zlib>
-
-Upgraded from version 2.008 to 2.020.
-
-=item C<CPAN>
-
-Upgraded from version 1.9205 to 1.9402. C<CPAN::FTP> has a local fix to
-stop it being too verbose on download failure.
-
-=item C<CPANPLUS>
-
-Upgraded from version 0.84 to 0.88.
-
-=item C<CPANPLUS::Dist::Build>
-
-Upgraded from version 0.06_02 to 0.36.
-
-=item C<Cwd>
-
-Upgraded from version 3.25_01 to 3.30.
-
-=item C<Data::Dumper>
-
-Upgraded from version 2.121_14 to 2.124.
-
-=item C<DB>
-
-Upgraded from version 1.01 to 1.02.
-
-=item C<DB_File>
-
-Upgraded from version 1.816_1 to 1.820.
-
-=item C<Devel::PPPort>
-
-Upgraded from version 3.13 to 3.19.
-
-=item C<Digest::MD5>
-
-Upgraded from version 2.36_01 to 2.39.
-
-=item C<Digest::SHA>
-
-Upgraded from version 5.45 to 5.47.
-
-=item C<DirHandle>
-
-Upgraded from version 1.01 to 1.03.
-
-=item C<Dumpvalue>
+=head2 C<each> is now more flexible
 
-Upgraded from version 1.12 to 1.13.
+The C<each> function can now operate on arrays.
 
-=item C<DynaLoader>
+=head2 Y2038 compliance
 
-Upgraded from version 1.08 to 1.10.
+Perl's core time-related functions are now Y2038 compliant. (With 29
+years to spare!)
 
-=item C<Encode>
+=head2 C<$,> flexibility
 
-Upgraded from version 2.23 to 2.35.
+The variable C<$,> may now be tied.
 
-=item C<Errno>
-
-Upgraded from version 1.10 to 1.11.
-
-=item C<Exporter>
-
-Upgraded from version 5.62 to 5.63.
-
-=item C<ExtUtils::CBuilder>
-
-Upgraded from version 0.21 to 0.2602.
-
-=item C<ExtUtils::Command>
-
-Upgraded from version 1.13 to 1.16.
-
-=item C<ExtUtils::Constant>
-
-Upgraded from 0.20 to 0.22. (Note that neither of these versions are
-available on CPAN.)
-
-=item C<ExtUtils::Embed>
-
-Upgraded from version 1.27 to 1.28.
-
-=item C<ExtUtils::Install>
-
-Upgraded from version 1.44 to 1.54.
-
-=item C<ExtUtils::MakeMaker>
-
-Upgraded from version 6.42 to 6.55_02.
-
-Note that C<ExtUtils::MakeMaker::bytes> and C<ExtUtils::MakeMaker::vmsish>
-have been removed from this distribution.
-
-=item C<ExtUtils::Manifest>
-
-Upgraded from version 1.51_01 to 1.56.
-
-=item C<ExtUtils::ParseXS>
-
-Upgraded from version 2.18_02 to 2.2002.
-
-=item C<Fatal>
-
-Upgraded from version 1.05 to 2.06_01. See also the new pragma C<autodie>.
-
-=item C<File::Basename>
-
-Upgraded from version 2.76 to 2.77.
-
-=item C<File::Compare>
-
-Upgraded from version 1.1005 to 1.1006.
-
-=item C<File::Copy>
-
-Upgraded from version 2.11 to 2.14.
-
-File::Copy now always return 0 (not "") on failure.
-
-=item C<File::Fetch>
-
-Upgraded from version 0.14 to 0.20.
-
-=item C<File::Find>
-
-Upgraded from version 1.12 to 1.14.
-
-=item C<File::Path>
-
-Upgraded from version 2.04 to 2.07_03.
-
-=item C<File::Spec>
-
-Upgraded from version 3.2501 to 3.30.
-
-=item C<File::stat>
-
-Upgraded from version 1.00 to 1.01.
-
-Added -X overloading, -M, -C and -A.
-
-=item C<File::Temp>
-
-Upgraded from version 0.18 to 0.22.
-
-=item C<FileCache>
-
-Upgraded from version 1.07 to 1.08.
-
-=item C<FileHandle>
-
-Upgraded from version 2.01 to 2.02.
-
-=item C<Filter::Simple>
-
-Upgraded from version 0.82 to 0.84.
-
-=item C<Filter::Util::Call>
-
-Upgraded from version 1.07 to 1.08.
-
-=item C<FindBin>
-
-Upgraded from version 1.49 to 1.50.
-
-=item C<GDBM_File>
-
-Upgraded from version 1.08 to 1.09.
-
-=item C<Getopt::Long>
-
-Upgraded from version 2.37 to 2.38.
-
-=item C<Hash::Util::FieldHash>
-
-Upgraded from version 1.03 to 1.04. This fixes a memory leak.
-
-=item C<I18N::Collate>
-
-Upgraded from version 1.00 to 1.01.
-
-=item C<IO>
-
-Upgraded from version 1.23_01 to 1.25.
-
-This makes non-blocking mode work on Windows in C<IO::Socket::INET>
-[CPAN #43573].
-
-=item C<IO::Compress::*>
-
-Upgraded from version 2.008 to 2.020.
-
-=item C<IO::Dir>
-
-Upgraded from version 1.06 to 1.07.
-
-=item C<IO::Handle>
-
-Upgraded from version 1.27 to 1.28.
-
-=item C<IO::Socket>
-
-Upgraded from version 1.30_01 to 1.31.
-
-=item C<IO::Zlib>
-
-Upgraded from version 1.07 to 1.09.
-
-=item C<IPC::Cmd>
-
-Upgraded from version 0.40_1 to 0.46.
-
-=item C<IPC::Open3>
-
-Upgraded from version 1.02 to 1.04.
-
-=item C<IPC::SysV>
-
-Upgraded from version 1.05 to 2.01.
-
-=item C<lib>
-
-Upgraded from version 0.5565 to 0.62.
-
-=item C<List::Util>
-
-Upgraded from version 1.19 to 1.21.
-
-=item C<Locale::MakeText>
-
-Upgraded from version 1.12 to 1.13.
-
-=item C<Log::Message>
-
-Upgraded from version 0.01 to 0.02.
-
-=item C<Math::BigFloat>
-
-Upgraded from version 1.59 to 1.60.
-
-=item C<Math::BigInt>
-
-Upgraded from version 1.88 to 1.89.
-
-=item C<Math::BigInt::FastCalc>
-
-Upgraded from version 0.16 to 0.19.
-
-=item C<Math::BigRat>
-
-Upgraded from version 0.21 to 0.22.
-
-=item C<Math::Complex>
-
-Upgraded from version 1.37 to 1.56.
-
-=item C<Math::Trig>
-
-Upgraded from version 1.04 to 1.20.
-
-=item C<Memoize>
-
-Upgraded from version 1.01_02 to 1.01_03 (just a minor documentation
-change).
-
-=item C<Module::Build>
-
-Upgraded from version 0.2808_01 to 0.34_02.
-
-=item C<Module::CoreList>
-
-Upgraded from version 2.13 to 2.18. This release no longer contains the
-C<%Module::CoreList::patchlevel> hash.
-
-=item C<Module::Load>
-
-Upgraded from version 0.12 to 0.16.
-
-=item C<Module::Load::Conditional>
-
-Upgraded from version 0.22 to 0.30.
-
-=item C<Module::Loaded>
-
-Upgraded from version 0.01 to 0.02.
-
-=item C<Module::Pluggable>
-
-Upgraded from version 3.6 to 3.9.
-
-=item C<NDBM_File>
-
-Upgraded from version 1.07 to 1.08.
-
-=item C<Net::Ping>
-
-Upgraded from version 2.33 to 2.36.
-
-=item C<NEXT>
-
-Upgraded from version 0.60_01 to 0.64.
-
-=item C<Object::Accessor>
-
-Upgraded from version 0.32 to 0.34.
-
-=item C<OS2::REXX>
-
-Upgraded from version 1.03 to 1.04.
-
-=item C<Package::Constants>
-
-Upgraded from version 0.01 to 0.02.
-
-=item C<PerlIO>
-
-Upgraded from version 1.04 to 1.06.
-
-=item C<PerlIO::via>
-
-Upgraded from version 0.04 to 0.07.
-
-=item C<Pod::Man>
-
-Upgraded from version 2.16 to 2.22.
-
-=item C<Pod::Parser>
-
-Upgraded from version 1.35 to 1.37.
-
-=item Pod::Perldoc
-
-Upgrade from version 3.14_02 to 3.15.
-
-=item C<Pod::Simple>
-
-Upgraded from version 3.05 to 3.07.
-
-=item C<Pod::Text>
-
-Upgraded from version 3.08 to 3.13.
-
-=item C<POSIX>
-
-Upgraded from version 1.13 to 1.17.
-
-=item C<Safe>
-
-Upgraded from 2.12 to 2.18.
-
-=item C<Scalar::Util>
-
-Upgraded from version 1.19 to 1.21.
-
-=item C<SelectSaver>
-
-Upgraded from 1.01 to 1.02.
-
-=item C<SelfLoader>
-
-Upgraded from 1.11 to 1.17.
-
-=item C<Socket>
-
-Upgraded from 1.80 to 1.82.
-
-=item C<Storable>
-
-Upgraded from 2.18 to 2.20.
-
-=item C<Switch>
-
-Upgraded from version 2.13 to 2.14. Please see L</Deprecations>.
-
-=item C<Symbol>
-
-Upgraded from version 1.06 to 1.07.
-
-=item C<Sys::Syslog>
-
-Upgraded from version 0.22 to 0.27.
-
-=item C<Term::ANSIColor>
-
-Upgraded from version 1.12 to 2.01.
-
-=item C<Term::ReadLine>
-
-Upgraded from version 1.03 to 1.04.
-
-=item C<Term::UI>
-
-Upgraded from version 0.18 to 0.20.
-
-=item C<Test::Harness>
-
-Upgraded from version 2.64 to 3.17.
-
-Note that one side-effect of the 2.x to 3.x upgrade is that the
-experimental C<Test::Harness::Straps> module (and its supporting
-C<Assert>, C<Iterator>, C<Point> and C<Results> modules) have been
-removed. If you still need this, then they are available in the
-(unmaintained) C<Test-Harness-Straps> distribution on CPAN.
+=head2 // in where clauses
 
-=item C<Test::Simple>
+// now behaves like || in when clauses
 
-Upgraded from version 0.72 to 0.92.
+=head2 Enabling warnings from your shell environment
 
-=item C<Text::ParseWords>
+You can now set C<-W> from the C<PERL5OPT> environment variable
 
-Upgraded from version 3.26 to 3.27.
+=head2 C<delete local>
 
-=item C<Text::Tabs>
+C<delete local> now allows you to locally delete a hash entry.
 
-Upgraded from version 2007.1117 to 2009.0305.
+=head2 New support for Abstract namespace sockets
 
-=item C<Text::Wrap>
+Abstract namespace sockets are Linux-specific socket type that live in
+AF_UNIX family, slightly abusing it to be able to use arbitrary
+character arrays as addresses: They start with nul byte and are not
+terminated by nul byte, but with the length passed to the socket()
+system call.
 
-Upgraded from version 2006.1117 to 2009.0305.
+=head1 Modules and Pragmata
+
+=head2 Dual-lifed modules moved
+
+Dual-lifed modules maintained primarily in the Perl core now live in dist/.
+Dual-lifed modules maintained primarily on CPAN now live in cpan/
+
+In previous releases of Perl, it was customary to enumerate all module
+changes in this section of the C<perldelta> file.   From 5.11.0 forward
+only notable updates (such as new or deprecated modules ) will be
+listed in this section. For a complete reference to the versions of
+modules shipped in a given release of perl, please see L<Module::CoreList>.
 
-=item C<Thread::Queue>
+=head2 New Modules and Pragmata
+
+=over 4
 
-Upgraded from version 2.00 to 2.11.
+=item C<autodie>
 
-=item C<Thread::Semaphore>
+This is a new lexically-scoped alternative for the C<Fatal> module.
+The bundled version is 2.06_01. Note that in this release, using a string
+eval when C<autodie> is in effect can cause the autodie behaviour to leak
+into the surrounding scope. See L<autodie/"BUGS"> for more details.
 
-Upgraded from version 2.01 to 2.09.
+=item C<Compress::Raw::Bzip2>
 
-=item C<threads>
+This has been added to the core (version 2.020).
 
-Upgraded from version 1.67 to 1.73.
+=item C<parent>
 
-=item C<threads::shared>
+This pragma establishes an ISA relationship with base classes at compile
+time. It provides the key feature of C<base> without the feature creep.
 
-Upgraded from version 1.14 to 1.29.
+=item C<Parse::CPAN::Meta>
 
-=item C<Tie::RefHash>
+This has been added to the core (version 1.39).
 
-Upgraded from version 1.37 to 1.38.
+=back
 
-=item C<Tie::StdHandle>
+=head2 Pragmata Changes
 
-This has documentation changes, and has been assigned a version for the
-first time: version 4.2.
+=over 4
 
-=item C<Time::HiRes>
+=item C<overloading>
 
-Upgraded from version 1.9711 to 1.9719.
+See L</"The C<overloading> pragma"> above.
 
-=item C<Time::Local>
+=item C<attrs>
 
-Upgraded from version 1.18 to 1.1901.
+The C<attrs> pragma has been removed. It had been marked as deprecated since
+5.6.0.
 
-=item C<Time::Piece>
+=item C<charnames>
 
-Upgraded from version 1.12 to 1.15.
+The Unicode F<NameAliases.txt> database file has been added. This has the
+effect of adding some extra C<\N> character names that formerly wouldn't
+have been recognised; for example, C<"\N{LATIN CAPITAL LETTER GHA}">.
 
-=item C<Unicode::Normalize>
+=item C<feature>
 
-Upgraded from version 1.02 to 1.03.
+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.
 
-=item C<Unicode::UCD>
+=item C<mro>
 
-Upgraded from version 0.25 to 0.27.
+Upgraded from version 1.00 to 1.01. Performance for single inheritance is 40%
+faster - see L</"Performance Enhancements"> below.
 
-C<charinfo()> now works on Unified CJK code points added to later versions
-of Unicode.
+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".
 
-C<casefold()> has new fields returned to provide both a simpler interface
-and previously missing information. The old fields are retained for
-backwards compatibility. Information about Turkic-specific code points is
-now returned.
+=back
 
-The documentation has been corrected and expanded.
+=head2 Updated Modules
 
-=item C<UNIVERSAL>
+=over 4
 
-Upgraded from version 1.04 to 1.05.
+=item C<ExtUtils::MakeMaker>
 
-UNIVERSAL->import() is now deprecated.
+Upgraded from version 6.42 to 6.55_02.
 
+Note that C<ExtUtils::MakeMaker::bytes> and C<ExtUtils::MakeMaker::vmsish>
+have been removed from this distribution.
 
-=item C<Win32>
+=item C<Test::Harness>
 
-Upgraded from version 0.34 to 0.39.
+Upgraded from version 2.64 to 3.17.
 
-=item C<Win32API::File>
+Note that one side-effect of the 2.x to 3.x upgrade is that the
+experimental C<Test::Harness::Straps> module (and its supporting
+C<Assert>, C<Iterator>, C<Point> and C<Results> modules) have been
+removed. If you still need this, then they are available in the
+(unmaintained) C<Test-Harness-Straps> distribution on CPAN.
 
-Upgraded from version 0.1001_01 to 0.1101.
+=item C<UNIVERSAL>
 
-=item C<XSLoader>
+Upgraded from version 1.04 to 1.05.
 
-Upgraded from version 0.08 to 0.10.
+C<< UNIVERSAL-E<gt>import() >> is now deprecated.
 
 =back
 
@@ -987,10 +536,10 @@ C<LVALUE> subroutines now work under the debugger.
 The debugger now correctly handles proxy constant subroutines, and
 subroutine stubs.
 
-
 =item F<perlbug>
 
- Perlbug now uses %Module::CoreList::bug_tracker to print out upstream bug tracker URLs.
+F<perlbug> now uses C<%Module::CoreList::bug_tracker> to print out upstream bug
+tracker URLs.
 
 Where the user names a module that their bug report is about, and we know the
 URL for its upstream bug tracker, provide a message to the user explaining
@@ -999,7 +548,7 @@ reporting the bug directly to upstream.
 
 =item F<perlthanks>
 
-Perl 5.10.1 added a new utility F<perlthanks>, which is a variant of
+Perl 5.11.0 added a new utility F<perlthanks>, which is a variant of
 F<perlbug>, but for sending non-bug-reports to the authors and maintainers
 of Perl. Getting nothing but bug reports can become a bit demoralising:
 we'll see if this changes things.
@@ -1029,17 +578,13 @@ reference to perl programs.
 This describes how to access the perl source using the I<git> version
 control system.
 
-=item L<perlthanks>
-
-This describes the new F<perlthanks> utility.
-
 =back
 
 =head1 Changes to Existing Documentation
 
-The various large C<Changes*> files (which listed every change made to perl
+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 C<Changes>, which just explains how that same information may
+also called F<Changes>, which just explains how that same information may
 be extracted from the git version control system.
 
 The file F<Porting/patching.pod> has been deleted, as it mainly described
@@ -1049,30 +594,42 @@ Information still relevant has been moved to L<perlrepository>.
 L<perlapi>, L<perlintern>, L<perlmodlib> and L<perltoc> are now all
 generated at build time, rather than being shipped as part of the release.
 
-=head2 Documented -X overloading.
+=over
+
+=item *
+
+Documented -X overloading.
 
-=head2 Documented that when() treats specially most of the filetest operators
+=item *
+
+Documented that C<when()> treats specially most of the filetest operators
 
-=head2 Documented that DESTROY is subject to AUTOLOAD, and the related optimisations.
+=item *
 
-=head2 Documented when as a syntax modifier
+Documented when as a syntax modifier
 
-=head2 Eliminated "Old Perl threads tutorial", which describes 5005 threads.
+=item *
 
-pod/perlthrtut.pod is the same material reworked for ithreads.
+Eliminated "Old Perl threads tutorial", which describes 5005 threads.
 
-=head2 Removed a link to the attrs pragma, which has now been removed.
+F<pod/perlthrtut.pod> is the same material reworked for ithreads.
 
-=head2 update PERL_MEM_LOG in perlhack.pod
+=item *
 
-=head2 Correct previous documentation: v-strings are not deprecated
+Correct previous documentation: v-strings are not deprecated
 
 With version objects, we need them to use MODULE VERSION syntax.  This
 patch removes the deprecation note.
 
+=item *
+
+Added security contact information to L<perlsec>
+
+=back
 
 =head1 Performance Enhancements
 
+
 =over 4
 
 =item *
@@ -1081,6 +638,12 @@ 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.
+
+=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
@@ -1092,11 +655,11 @@ Empty C<DESTROY> methods are no longer called.
 
 =item *
 
-Faster sv_utf8_upgrade()
+Faster C<Perl_sv_utf8_upgrade()>
 
 =item *
 
-Speed up keys() on empty hash
+Speed up C<keys> on empty hash
 
 =back
 
@@ -1111,15 +674,18 @@ etc.  The names of the extensions as specified to F<Configure>, and as
 reported by C<%Config::Config> under the keys C<dynamic_ext>,
 C<known_extensions>, C<nonxs_ext> and C<static_ext> have not changed, and
 still use C</>. Hence this change will not have any affect once perl is
-installed. However, C<Attribute::Handlers>, C<Safe> and C<mro> have now
-become extensions in their own right, so if you run F<Configure> with
-options to specify an exact list of extensions to build, you will need to
-change it to account for this.
-
-For 5.10.2, it is planned that many dual-life modules will have been moved
-from F<lib> to F<ext>; again this will have no effect on an installed
-perl, but will matter if you invoke F<Configure> with a pre-canned list of
-extensions to build.
+installed. C<Safe> has been split out from being part of C<Opcode>, and
+C<mro> is now an extension in its own right.
+
+Nearly all dual-life modules have been moved from F<lib> to F<ext>, and will
+now appear as known C<nonxs_ext>. This will made no difference to the
+structure of an installed perl, nor will the modules installed differ,
+unless you run F<Configure> with options to specify an exact list of
+extensions to build. In this case, you will rapidly become aware that you
+need to add to your list, because various modules needed to complete the
+build, such as C<ExtUtils::ParseXS>, have now become extensions, and
+without them the build will fail well before it attempts to run the
+regression tests.
 
 =head2 Configuration improvements
 
@@ -1155,10 +721,10 @@ F<win32/buildext.pl>.
 
 =item AIX
 
-Removed F<libbsd> for AIX 5L and 6.1. Only flock() was used from F<libbsd>.
+Removed F<libbsd> for AIX 5L and 6.1. Only C<flock()> was used from F<libbsd>.
 
 Removed F<libgdbm> for AIX 5L and 6.1. The F<libgdbm> is delivered as an
-optional package with the AIX Toolbox. Unfortunately the 64 bit version 
+optional package with the AIX Toolbox. Unfortunately the 64 bit version
 is broken.
 
 Hints changes mean that AIX 4.2 should work again.
@@ -1169,6 +735,10 @@ On Cygwin we now strip the last number from the DLL. This has been the
 behaviour in the cygwin.com build for years. The hints files have been
 updated.
 
+=item DomainOS
+
+Support for Apollo DomainOS was removed in Perl 5.11.0
+
 =item FreeBSD
 
 The hints files now identify the correct threading libraries on FreeBSD 7
@@ -1184,6 +754,15 @@ C<cc -E -> unfortunately goes into K&R mode, but C<cc -E file.c> doesn't.
 Patches from the Haiku maintainers have been merged in. Perl should now
 build on Haiku.
 
+=item MachTen
+
+Support for Tenon Intersystems MachTen Unix layer for MacOS Classic was
+removed in Perl 5.11.0
+
+=item MiNT
+
+Support for Atari MiNT was removed in Perl 5.11.0.
+
 =item MirOS BSD
 
 Perl should now build on MirOS BSD.
@@ -1221,7 +800,7 @@ status in a VMS condition value for better interaction with GNV's bash
 shell and other utilities that depend on POSIX exit values.  See
 L<perlvms/"$?"> for details.
 
-File::Copy now detects Unix compatibility mode on VMS.
+C<File::Copy> now detects Unix compatibility mode on VMS.
 
 =back
 
@@ -1229,15 +808,14 @@ File::Copy now detects Unix compatibility mode on VMS.
 
 =over 4
 
-=item 
+=item *
 
-=item C<-I> on shebang line now adds directories in front of @INC.
+C<-I> on shebang line now adds directories in front of @INC
 as documented, and as does C<-I> when specified on the command-line.
-(Renée Bäcker)
 
-=item 
+=item *
 
-C<kill> is now fatal when called on non-numeric process identifiers.
+C<kill> is now fatal when called on non-numeric process identifiers.
 Previously, an 'undef' process identifier would be interpreted as a request to
 kill process "0", which would terminate the current process group on POSIX
 systems.  Since process identifiers are always integers, killing a non-numeric
@@ -1269,38 +847,38 @@ The debugger's C<m> command was broken on modules that defined constants
 
 =item *
 
-C<crypt()> and string complement could return tainted values for untainted
+C<crypt> and string complement could return tainted values for untainted
 arguments [RT #59998].
 
 =item *
 
-The C<-i.suffix> command-line switch now recreates the file using
+The C<-i>I<.suffix> command-line switch now recreates the file using
 restricted permissions, before changing its mode to match the original
 file. This eliminates a potential race condition [RT #60904].
 
 =item *
 
-On some UNIX systems, the value in C<$?> would not have the top bit set
+On some Unix systems, the value in C<$?> would not have the top bit set
 (C<$? & 128>) even if the child core dumped.
 
 =item *
 
-Under some circumstances, $^R could incorrectly become undefined
+Under some circumstances, C<$^R> could incorrectly become undefined
 [RT #57042].
 
 =item *
 
-(XS) In various hash functions, passing a pre-computed hash to when the
-key is UTF-8 might result in an incorrect lookup.
+In the XS API, various hash functions, when passed a pre-computed hash where
+the key is UTF-8, might result in an incorrect lookup.
 
 =item *
 
-(XS) Including F<XSUB.h> before F<perl.h> gave a compile-time error
+XS code including F<XSUB.h> before F<perl.h> gave a compile-time error
 [RT #57176].
 
 =item *
 
-C<< $object->isa('Foo') >> would report false if the package C<Foo> didn't
+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 *
@@ -1337,7 +915,7 @@ C<sub foo(_)> [RT #62484].
 
 =item *
 
-Using C<setpgrp()> with no arguments could corrupt the perl stack.
+Using C<setpgrp> with no arguments could corrupt the perl stack.
 
 =item *
 
@@ -1419,7 +997,7 @@ These have all been fixed.
 
 A 5.10.0 optimisation to clear the temporary stack within the implicit
 loop of C<s///ge> has been reverted, as it turned out to be the cause of
-obscure bugs in seemingly unrelated parts of the interpreter [commit 
+obscure bugs in seemingly unrelated parts of the interpreter [commit
 ef0d4e17921ee3de].
 
 =item *
@@ -1461,7 +1039,7 @@ Use of a UTF-8 C<tr//> within a closure could cause a segfault [RT #61520].
 
 =item *
 
-Calling C<sv_chop()> or otherwise upgrading an SV could result in an
+Calling C<Perl_sv_chop()> or otherwise upgrading an SV could result in an
 unaligned 64-bit access on the SPARC architecture [RT #60574].
 
 =item *
@@ -1506,6 +1084,14 @@ or cause the following assertion failure [RT #60508]:
 
     Assertion rx->sublen >= (s - rx->subbeg) + i failed
 
+=item *
+
+Previously missing files from Unicode 5.1 Character Database are now included.
+
+=item *
+
+C<TMPDIR> is now honored when opening an anonymous temporary file
+
 =back
 
 =head1 New or Changed Diagnostics
@@ -1543,12 +1129,24 @@ pre-processor macro C<PERL_SUB_DEPTH_WARN> to the desired value.
 
 =item *
 
+TODO: C<SVt_RV> is gone. RVs are now stored in IVs
+
+=item *
+
+TODO: REGEXPs are first class
+
+=item *
+
+TODO: OOK is reworked, such that an OOKed scalar is PV not PVIV
+
+=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.
 
 =item *
 
-C<vcroak()> now accepts a null first argument. In addition, a full audit
+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.
 
@@ -1585,7 +1183,7 @@ is available for this.
 
 =item C<SVs_TEMP>
 
-Call C<sv_2mortal()> on the new SV.
+Call C<Perl_sv_2mortal()> on the new SV.
 
 =back
 
@@ -1610,7 +1208,7 @@ and a global variable otherwise.
 
 =item *
 
-C<Perl_mg_free()> used to leave freed memory accessible via SvMAGIC() on
+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.
 
@@ -1639,6 +1237,17 @@ 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.
+
+
+=item *
+
+A new debugging flag C<-DB> now dumps subroutine definitions, leaving
+C<-Dx> for its original purpose of dumping syntax trees.
+
+=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.
@@ -1664,7 +1273,7 @@ outside the core should be accessing this directly anyway.
 
 =item *
 
-A new tool, C<Porting/expand-macro.pl> has been added, that allows you
+A new tool, F<Porting/expand-macro.pl> has been added, that allows you
 to view how a C preprocessor macro would be expanded when compiled.
 This is handy when trying to decode the macro hell that is the perl
 guts.
@@ -1749,7 +1358,7 @@ Tests for the interaction of Unicode properties and threads.
 
 Test the tied methods of C<Tie::Hash::NamedCapture>.
 
-=item t/op/reg_posixcc.t 
+=item t/op/reg_posixcc.t
 
 Check that POSIX character classes behave consistently.
 
@@ -1818,7 +1427,6 @@ A workaround is to generate the character outside of the regex:
 Some regexes may run much more slowly when run in a child thread compared
 with the thread the pattern was compiled into [RT #55600].
 
-
 =back
 
 =head1 Deprecations
@@ -1837,6 +1445,32 @@ replacement.
 
 =item *
 
+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.
+
+=over
+
+=item *
+
+C<Class::ISA>
+
+=item *
+
+C<Pod::Plainer>
+
+=item *
+
+C<Shell>
+
+=back
+
+Currently support to install from CPAN without a I<force> is C<TODO> in CPAN
+and CPANPLUS. This will be addressed before 5.12.0 ships.
+
+=item *
+
 C<suidperl> has been removed. It used to provide a mechanism to
 emulate setuid permission bits on systems that don't support it properly.
 
@@ -1862,11 +1496,10 @@ Deprecate using "unique" with the attributes pragma.
 
 =item *
 
-warn if ++ or -- are unable to change the value because it's beyond the limit of representation 
+warn if ++ or -- are unable to change the value because it's beyond the limit of representation
 
 This uses a new warnings category: "imprecision".
 
-
 =item *
 
 Make lc/uc/lcfirst/ucfirst warn when passed undef.
@@ -1889,7 +1522,7 @@ Tweak the "Illegal character in prototype" warning so it's more precise when rep
 
 =item *
 
-Unintented interpolation of $\ in regex
+Unintended interpolation of $\ in regex
 
 =item *
 
@@ -1905,24 +1538,33 @@ They are now very similar to those produced by Algorithm::C3.
 
 Amelioration of the error message "Unrecognized character %s in column %d"
 
-Changes the error message to "Unrecognized character %s; marked by <--
-HERE after %s<-- HERE near column %d". This should make it a little
+Changes the error message to "Unrecognized character %s; marked by E<lt>--
+HERE after %sE<lt>-- HERE near column %d". This should make it a little
 simpler to spot and correct the suspicious character.
 
 =item *
 
 Explicitely point to $. when it causes an uninitialized warning for ranges in scalar context
 
+
+=item *
+
+Deprecated numerous Perl 4-era libraries:
+
+F<termcap.pl>, F<tainted.pl>, F<stat.pl>, F<shellwords.pl>, F<pwd.pl>,
+F<open3.pl>, F<open2.pl>, F<newgetopt.pl>, F<look.pl>, F<find.pl>,
+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.
+
 =back
 
 =head1 Acknowledgements
 
-Some of the work in this release was funded by a TPF grant.
-
-Nicholas Clark officially retired from maintenance pumpking duty at the
-end of 2008; however in reality he has put much effort in since then to
-help get 5.10.1 into a fit state to be released, including writing a
-considerable chunk of this perldelta.
+Some of the work in this release was funded by a TPF grant funded by
+Dijkmat BV, The Netherlands.
 
 Steffen Mueller and David Golden in particular helped getting CPAN modules
 polished and synchronised with their in-core equivalents.
@@ -1940,7 +1582,6 @@ Nicholas Clark, leon, shawn, alexm, rjbs, rafl, Pedro Melo, brunorc,
 anonymous, ☄, Tom Hukins, anonymous, Jesse, dagolden, Moritz Onken,
 Mark Fowler, chorny, anonymous, tmtm
 
-
 Finally, thanks to Larry Wall, without whom none of this would be
 necessary.
 
@@ -1981,305 +1622,3 @@ The F<Artistic> and F<Copying> files for copyright information.
 =cut
 
 
-=head1 TODO
-
-The following changes are a filtered list of changes which weren't backported
-to 5.10.1. They were run through changelogger.bestpractical.com and triaged
-by a set of Perl 5 Porters. Changes to blead after 5945e41e have not yet
-been triaged or integrated.
-
-The following changes need to be 
-
-1) deleted if they don't merit inclusion
-
-       OR
-
-2) lightly copyedited and integrated into the perldelta above. Unfortunately, many of our
-commit messages are somewhat terse and require a bit more help to turn into something readable
-
-
-
-
-=head1 API
-
-=head2 Move the reg_stringify logic to Perl_sv_2pv_flags
-
-=head2 mg_copy ought to take an I32
-
-=head2 Perl_store_cop_label() isn't meant to be part of the public API.
-
-=head2 Perl_gv_fetchmethod{,_autoload,_flags} are actually never* called with a non-NULL stash. 
-So change the parameter to NN.
-
-
-=head2 Promote Perl_setdefout() to the public API.
-
-=head2 Add get_cvs() as a shortcut for STR_WITH_LEN() and Perl_get_cvn_flags()
-
-=head2 In Perl_newCONSTSUB(), sv should not be NULL.
-
-=head2 GvUNIQUE* have been defined as 0 since 2005/06/30 - high time to remove them.
-
-=head2 invert and rename PERL_MEM_LOG_STDERR to PERL_MEM_LOG_NOIMPL
-
-Most users who want PERL_MEM_LOG want the default implementation,
-give it to them.  Users providing their own implementation can
-obtain current behavior by adding -DPERL_MEM_LOG_NOIMPL.
-Frankly, the average user probably wants _ENV by default too.
-
-=head2 simplify PERL_MEM_LOG
-
-This combines multiple environment variable reads into 1,
-where it looks for values like "2mst"
--2 leading digits are atoi()d to get FD
--m memory logging please
--s sv logging also
--t timestamp those please.
-
-Combining these reduces overhead such that it seemed
-worthwhile to drop all the ifdefs.  TBD whether this works
-in the environment that drove the original tradeoffs.
-
-If it isnt enough, Id be tempted by a global static ptr,
-and on 1st use, is read, seen 0, a lock is taken, and getenvar
-run to populate it, unlocked, proceed.  This would remove
-iterative overheads.
-
-=head2 Add a parameter "destructing" to Gv_AMupdate()
-
-This boolean parameter indicates if the function has been called
-to update the overload magic table while looking up the DESTROY
-method. In this case, it's probably best to avoid croaking if
-those tables could not be updated (for example due to a method
-that could not be loaded.)
-
-=head2 Modify the return value of Gv_AMupdate to indicate a compilation error
-
-This way we'll restore most of the performance on object desctruction
-lost by the previous commit
-
-
-=head2 local $SIG{FOO} = sub {...}; sets signal handler to SIG_DFL
-
-Re: [perl #60360] [PATCH] UPDATED: local $SIG{FOO} = sub {...}; sets signal handler to SIG_DFL
-Message-ID: <20081112234504.GI2062@tytlal.topaz.cx>
-
-Updated patch to retain source compatibility.
-
-Plus using the correct PERL_ARGS_ASSERT_SAVE_HELEM_FLAGS
-macro and running make regen.
-
-=head2 Respecting inc_version_list while processing PERL_VENDORLIB_STEM
-
-Respecting inc_version_list while processing PERL_VENDORLIB_STEM
-From: "Mandalemula, Rajesh" <Rajesh.Mandalemula@deshaw.com>
-
-=head2 Change PL_debug behaviour 
-
-
-String eval lines are now saved whenever
-a subroutine is defined, even if the eval'd string has subsequent
-syntax errors. This allows the debugger to single step into these
-subroutines.
-
-
-=head2 Tied filehandles now have an additional method EOF which provides the EOF type
-
-=head2 Perl is now smarter about adding a -I dir to the beginning or end of @INC
-
-=head2 On scope end, delete localized array elements that should not exist anymore, so that the array recovers its previous length. Honour EXISTS and DELETE for tied arrays.
-
-=head2 When a glob is deleted, mark its sub as ANON.
-
-=head2 Require a space or a newline after a "#line XXX" directive
-
-=head2 Forbid using "foreach" as an attribute
-
-(like all other control flow statements)
-
-
-=head2 Unregister signal handlers before destroying my_perl
-
-If the signal handler runs after perl_destruct() has been called, it
-will get an invalid (or NULL) my_perl when it asks for the
-thread-specific interpreter struct.  This patch resets the signal
-handler for any signal previously handled by PL_csighandlerp to SIG_DFL
-before calling perl_destruct().
-
-=head2 Perl_magic_clearsig() needs to remove magic, else delete $SIG{INT} returns undef
-
-Perl_magic_clearsig() needs to remove magic, else delete $SIG{INT} returns undef
-instead of the now-removed INT handler.
-
-=head2 [perl #66452] TMPDIR not honored when opening an anonymous temporary file
-
-[perl #66452] TMPDIR not honored when opening an anonymous temporary file
-
-=head2 The attached patch to perlio.c fixes the problem of errno getting set.
-
-While I am firmly in the school of "do not look at $! except immediately
-after a failure", I also agree that spuriously setting it is messy.  But
-there is just no way of knowing where your errno might have been.
-
-The problem was that PerlIO_fast_gets() (and other nearby similar
-capability-checking PerlIO routines) set the errno (and it was being
-called a lot, from sv_gets()).  I think setting the errno here was
-a mistake: checking for "can has FOO" should not set external state,
-such as the errno.  The patch removes that errno trashing from all those
-routines.
-
-=head2 Trim all trailing / from "." in @INC when filling %INC
-
-This fixes bug #66942 : as a / was left in the directory name,
-$INC{"Foo.pm"} for a file loaded from the current directory
-was given the incorrect value "/Foo.pm".
-
-=head2 Don't enqueue pending signals during global destruction
-
-Global destruction is not signal-safe. PL_psig_pend may already
-be gone when the signal handler is called (with destruct_level > 0).
-NULL it before freeing it to prevent a race condition.
-
-=head2 Eliminate struct regexp_allocated and xpvio_allocated.
-
-Calculate memory allocation using regexp and XPVIO, and the offset of the first
-real structure member. This avoids tripping over alignment differences between
-X* and x*_allocated, because x*_allocated doesn't have a double in it.
-
-
-=head1 internals
-
-=head2 [perl #47047] Use of inherited AUTOLOAD for non-method is deprecated
-
-=head2 Remove the definitions of Null(), Nullch, Nullfp, Nullsv and PL_na when code is within the perl source tree
-
-=head2 Replace our assert-which-can-be-caught-by-eval with the real deal from the standard C library.
-
-=head2 Tweak Perl_sv_upgrade() so that references can upgrade to SVt_PV
-
-=head2 Eliminate prelen from struct regexp. 
-
-=head2 Change Perl_av_iter_p() to return IV* rather than I32* (which means
-
-=head2 Reorder the external regexp flags to get RXf_PMf_STD_PMMOD into the
-
-lowest 4 bits (which saves a shift), and the "flags indicating special
-patterns" into contiguous bits. This makes everything a little tidier,
-and saves 88 bytes (woohoo!) of object file with -Os on x86 FreeBSD.
-
-
-=head2 Re-implement the SvOOK() hack to store the offset as a BER encoded number in the part of the PVX that is being released. 
-(It will always
-fit, as chopping off 1 byte gives just enough space for recording a
-delta of up to 127). This allows SvOOK() to co-exist with SvIOK_on(),
-which means all the calls to SvOOK_off() [with the possibility of a
-call to sv_backoff()] in SvIOK_on() can be removed. This ought to make
-a lot of straight line code a little bit simpler.
-OOK()d scalars can now be SVt_PV, as the IVX isn't needed.
-
-=head2 Abolish wraplen from struct regexp. We're already storing it in SvCUR.
-
-=head2 Make Perl_pregcomp() use SvUTF8() of the pattern, rather than the flag bit in pmflags, to decide whether the pattern is UTF-8.
-
-=head2 Abolish RXf_UTF8. Store the UTF-8-ness of the pattern with SvUTF8().
-
-=head2 In struct regexp move the member paren_names to the IV union.
-
-=head2 Make REGEXP a type distinct from SV. (Much like AV, CV, GV, HV).
-
-=head2 Allow sv_setsv_flags() to copy SVt_REGEXP much like it copies SVt_FORMAT - the just string buffer.
-
-
-=head2 Correct a long-standing ithreads reference counting anonamly
-
-The reference count only needs "doubling" when the scalar is pushed onto
-PL_regex_padav for the second time.
-
-
-=head2 In PL_regexp_padav, store regexps via real references, rather than hiding them within IVs. 
-
-We can do this now that they are real SV pointers.
-
-=head2 With regexps stored as real RVs, we can eliminate SvREPADTMP().
-
-=head2 REGEXPs are now stored directly in PL_regex_padav, rather than indirectly via RVs.
-
-=head2 Remove code that protected pp_qr against REGEXPs going away during global destruction whilst they were stored via true references in PL_regex_padav. 
-
-=head2 Remove PM_GETRE_SAFE and PM_SETRE_SAFE as nothing uses them.
-
-=head2 Note the U8 sized space created by removing -P, and check that it is now an illegal command line flag.
-
-=head2 Pack the recycled pad offsets into an SV at PL_regex_pad[0]. 
-
-=head2 Re-order so that the !SvOK() case is last (which should be rare)
-
-=head2 Extend PUSHFORMAT() to take a second parameter to set retop, to save NULLing it and then reassigning.
-
-=head2 Split struct block_sub into struct block_sub and struct block_format.
-
-Split struct block_sub into struct block_sub and struct block_format.
-(CXt_SUB and CXt_FORMAT were using some comon members, but some members
-were only for one or the other.)
-
-=head2 Change the wantarray result from caller from IV to bool for the SCALAR/ARRAY case. 
-
-This doesn't contradict the documentation, as there isn't any. Oops.
-
-
-=head2 Give G_VOID, G_SCALAR and G_ARRAY the same numeric values as OPf_WANT_VOID, OPf_WANT_SCALAR and OPf_WANT_LIST.
-
-
-=head2 Squeeze the context type down to 4 bits, and move the private flags to fit within the next 4 bits.
-
-
-=head2 In struct block change blku_type from U8 to U16, and the "spare" U8 to U16, with the lockstep changes in struct subst. 
-Eliminate lval from
-struct block_sub, and instead store it in the U16 in struct block.
-
-
-=head2 In struct block_eval, eliminate old_in_eval and old_op_type by storing the data in blk_u16.
-
-
-=head2 The layout for struct block_loop under ithreads can be simplified.
-
-Instead of wedging the pad offset into a void* iterdata, and always
-storing PL_comppad even when it isn't used, instead do this:
-
-PAD        *oldcomppad; /* Also used for the GV, if targoffset is 0 */
-/* This is also accesible via cx->blk_loop.my_op->op_targ */
-PADOFFSET  targoffset;
-
-and store the GV pointer in oldcompad. Pointers to pointers seems
-cleaner. This also allows us to eliminate the flag bit CXp_PADVAR.
-
-
-=head2 In XS_PerlIO_get_layers() take advantage of the implementation of
-
-In XS_PerlIO_get_layers() take advantage of the implementation of
-PerlIO_get_layers(), by co-opting the new SVs it creates, rather than
-copying them.
-
-
-=head2 Micro-optimise the order of the context types. [Because I can :-)]
-
-=head2 [patch] optimize OP_IS_(FILETEST|SOCKET) macros
-
-=head2 Eliminate ck_lengthconst.
-
-=head2 Chainsaw DEBUG_S out, as suggested by Vincent Pit.
-
-=head2 Unsupported private API functions are now declared "static" to prevent leakage to the public API
-
-=head2 Perl_cv_ckproto() is not part of the public API, and not used anywhere. It has been removed
-
-=head2 Remove all the 5005threads specific mutex macros, which are now vestigial.
-
-=head2 Do not honor TMPDIR for anonymous temporary files when tainting
-
-Use a default of /tmp on Unixes when TMPDIR is unset or empty, or
-when creation of a temporary file in it fails
-
-=head2 Add a pluggable hook in op_free()
-
-