From: Jesse Vincent Date: Sun, 14 Mar 2010 15:43:33 +0000 (+0000) Subject: Update Perl 5.12.0 delta. It needs a spellcheck, proofreading and a module list. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b6381718e14f5229d053ee7809b2d4de0b521ae2;p=p5sagit%2Fp5-mst-13.2.git Update Perl 5.12.0 delta. It needs a spellcheck, proofreading and a module list. --- diff --git a/pod/perl5120delta.pod b/pod/perl5120delta.pod index 18b5519..c7fc286 100644 --- a/pod/perl5120delta.pod +++ b/pod/perl5120delta.pod @@ -2,16 +2,9 @@ perl5120delta - what is new for perl v5.12.0 -=head1 XXX - THIS DOCUMENT IS ONLY CURRENT THROUGH PERL5115 - FIX ME BEFORE RELEASE -OTHER ISSUES: - UPDATED MODULE LIST NEEDS TO BE GENERATED -ORDERING NEEDS CHECKING -HEAVY COPYEDITING IS NEEDED - =head1 DESCRIPTION @@ -24,7 +17,7 @@ maintenance release. You can see the list of those changes in the 5.10.1 release notes (L). -=head1 New features and New syntax +=head1 Core Enhancements =head2 New C syntax @@ -96,8 +89,21 @@ means: use strict; use feature ':5.12'; +=head2 Unicode improvements -=head1 Core Enhancements +Perl 5.12 comes with Unicode 5.2, the latest version available to +us at the time of release. This version of Unicode was released in +October 2009. See L for +further details about what's changed in this version of the standard. +See L for instructions on installing and using other versions +of Unicode. + +Additionally, Perl's developers have significantly improved Perl's Unicode +implementation. For full details, see L below. + +=head2 Y2038 compliance + +Perl's core time-related functions are now Y2038 compliant. (It may not mean much to you, but your kids will love it!) =head2 qr overloading @@ -148,150 +154,6 @@ names were initially looked up, for parsing purposes, by an unhookable mechanism, so extensions could only properly influence subroutine names that appeared with an C<&> sigil.) -=head2 Unicode version 5.2 - -Perl 5.12 comes with Unicode 5.2, the latest version available to -us at the time of release. This version of Unicode was released in -October 2009. See L for -further details about what's changed in this version of the standard. -See L for instructions on installing and using other versions -of Unicode. - -=head2 Overhaul of Unicode property support - -Perl's developers have made a concerted effort to update Perl to be in -sync with the latest Unicode standard. Changes for this include: - -Perl can now handle every Unicode character property. New documentation, -L, lists all available non-Unihan character properties. By -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 -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 accepts all the Unicode-defined synonyms for properties and property values. - -C, which matches a Unicode logical character, has been expanded to work -better with various Asian languages. It now is defined as an I. (See L). -Anything matched previously and that made sense will continue to be -accepted. Additionally: - -=over - -=item * - -C<\X> will not break apart a C> sequence. - -=item * - -C<\X> will now match a sequence which includes the C and C 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. 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. - -=back - -Otherwise, this change should be transparent for the non-affected languages. - -C<\p{...}> matches using the Canonical_Combining_Class property were -completely broken in previous releases of Perl. They should now work correctly. - -Before Perl 5.12, the Unicode C property and a -Perl extension had the same name, which led to neither matching all the -correct values (with more than 100 mistakes in one, and several thousand -in the other). The Perl extension has now been renamed to be -C (short: C). It has the same -meaning as was previously intended, namely the union of all the -non-canonical Decomposition types, with Unicode C being just one of -those. - -C<\p{Decomposition_Type=Canonical}> now includes the Hangul syllables. - -C<\p{Uppercase}> and C<\p{Lowercase}> now work as the Unicode standard says they should. -This means they each match a few more characters than they used to. - -C<\p{Cntrl}> now matches the same characters as C<\p{Control}>. This means it -no longer will match Private Use (gc=co), Surrogates (gc=cs), nor Format -(gc=cf) code points. The Format code points represent the biggest -possible problem. All but 36 of them are either officially deprecated -or strongly discouraged from being used. Of those 36, likely the most -widely used are the soft hyphen (U+00AD), and BOM, ZWSP, ZWNJ, WJ, and -similar characters, plus bidirectional controls. - -C<\p{Alpha}> now matches the same characters as C<\p{Alphabetic}>. Before 5.12, Perl's definition -definition included a number of things that aren't really alpha (all -marks) while omitting many that were. The -definitions of C<\p{Alnum}> and C<\p{Word}> depend on Alpha's definition and have changed accordingly. - -C<\p{Word}> no longer incorrectly matches non-word characters such as fractions. - -C<\p{Print}> no longer matches the line control characters: Tab, LF, CR, -FF, VT, and NEL. This brings it in line with standards and the documentation. - -C<\p{XDigit}> now matches the same characters as C<\p{Hex_Digit}>. This -means that in addition to the characters it currently matches, -C<[A-Fa-f0-9]>, it will also match the 22 fullwidth equivalents, for -example U+FF10: FULLWIDTH DIGIT ZERO. - -The Numeric type property has been extended to include the Unihan -characters. - -There is a new Perl extension, the 'Present_In', or simply 'In', -property. This is an extension of the Unicode Age property, but -C<\p{In=5.0}> matches any code point whose usage has been determined -I Unicode version 5.0. The C<\p{Age=5.0}> only matches code points -added in I version 5.0. - -A number of properties now have the correct values for unassigned -code points. The affected properties are -Bidi_Class, East_Asian_Width, Joining_Type, Decomposition_Type, -Hangul_Syllable_Type, Numeric_Type, and Line_Break. - -The Default_Ignorable_Code_Point, ID_Continue, and ID_Start properties -are now up to date with current Unicode definitions. - -Earlier versions of Perl erroneously exposed certain properties that are supposed to be Unicode internal-only. -Use of these in regular expressions will now generate, if enabled, a deprecation warning message. -The properties are: Other_Alphabetic, Other_Default_Ignorable_Code_Point, -Other_Grapheme_Extend, Other_ID_Continue, Other_ID_Start, Other_Lowercase, -Other_Math, and Other_Uppercase. - -It is now possible to change which Unicode properties Perl understands -on a per-installation basis. As mentioned above, certain properties -are turned off by default. These include all the Unihan properties -(which should be accessible via the CPAN module Unicode::Unihan) and any -deprecated or Unicode internal-only property that Perl has never exposed. - -The generated files in the C directory are now more -clearly marked as being stable, directly usable by applications. -New hash entries in them give the format of the normal entries, -which allows for 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. - -=head2 Regular Expressions - -U+0FFFF is now a legal character in regular expressions. - =head2 A proper interface for pluggable Method Resolution Orders As of Perl 5.12.0 there is a new interface for plugging and using method @@ -300,19 +162,7 @@ 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 for more information. -=head2 The C pragma - -This pragma allows you to lexically disable or enable overloading -for some or all operations. (Yuval Kogman) - -=head2 \N{...} now compiles better, always forces UTF-8 internal representation. - -There were several problems that have been fixed with recognizing C<\N{...}> -constructs. As part of this, any scalar or regex that has either a -C<\N{I}> or C<\N{U+I}> in its definition will be stored in -UTF-8 format. (This was true previously for all occurences of C<\N{I}> -that did not use a custom translator, but now it's always true.) =head2 C<\N> experimental regex escape @@ -353,10 +203,6 @@ on how to specify C when creating a distribution for CPAN. The C function can now operate on arrays. -=head2 Y2038 compliance - -Perl's core time-related functions are now Y2038 compliant. (It may not mean much to you, but your kids will love it!) - =head2 C<$,> flexibility The variable C<$,> may now be tied. @@ -387,7 +233,7 @@ The 32-bit limit on C arguments has now been removed. The full range of the system's signed and unsigned integers is now available for the C and C arguments. -=head1 Incompatible Changes +=head1 Potentially Incompatible Changes =head2 Deprecations warn by default @@ -397,7 +243,8 @@ is used. 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. See L below for the list of features +and modules Perl's developers have deprecated as part of this release. =head2 Version number formats @@ -424,18 +271,22 @@ functions to check a scalar against these rules. =head2 @INC reorganization -In @INC, ARCHLIB and PRIVLIB now occur after after the current version's -site_perl and vendor_perl. +In C<@INC>, C and C now occur after after the current +version's C and C. Modules installed into +C and C will now be loaded in preference to +those installed in C and C. =head2 Switch statement changes -The handling of complex expressions by the C/C switch -statement has been enhanced. These enhancements are also available in -5.10.1 and subsequent 5.10 releases. There are two new cases where +The C/C switch statement handles complex statements better +than Perl 5.10.0 did (These enhancements are also available in +5.10.1 and subsequent 5.10 releases.) There are two new cases where C now interprets its argument as a boolean, instead of an expression to be used in a smart match: -=head2 flip-flop operators +=over + +=item flip-flop operators The C<..> and C<...> flip-flop operators are now evaluated in boolean context, following their usual semantics; see L. @@ -452,17 +303,19 @@ implementing bistable conditions, like in: # do something } -=head2 defined-or operator +=item defined-or operator A compound expression involving the defined-or operator, as in C, will be treated as boolean if the first expression is boolean. (This just extends the existing rule that applies to the regular or operator, as in C.) +=back + =head2 Smart match changes -This section details more changes brought to the semantics to -the smart match operator, that naturally also modify the behaviour +Since Perl 5.10.0, Perl's developers have made a number of changes to +the smart match operator. These, of course, also alter the behaviour of the switch statements where smart matching is implicitly used. These changes were also made for the 5.10.1 release, and will remain in subsequent 5.10 releases. @@ -533,19 +386,7 @@ to avoid relying on the object's underlying structure). (However, if the object overloads the stringification or the numification operators, and if overload fallback is active, it will be used instead, as usual.) -=head2 Labels can't be keywords - -Labels used as targets for the C, C, C or C -statements cannot be keywords anymore. This restriction will prevent -potential confusion between the C and C syntaxes: -for example, a statement like C would jump to a label whose -name would be the return value of C, (usually 1), instead of a -label named C. 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 -avoided. - -=head2 Other incompatible changes +=head2 Other potentially incompatible changes =over 4 @@ -553,12 +394,11 @@ avoided. The definitions of a number of Unicode properties have changed to match those of the current Unicode standard. These are listed above under -L. This could break code that -is expecting the old definitions. +L. This change may break code that expects the old definitions. =item * -The boolkeys op moved to the group of hash ops. This breaks binary +The boolkeys op has moved to the group of hash ops. This breaks binary compatibility. =item * @@ -576,29 +416,17 @@ See L<"Modules and Pragmata"> for more information. =item * -The version control system used for the development of the perl -interpreter has been switched from Perforce to git. This is mainly an -internal issue that only affects people actively working on the perl core; -but it may have minor external visibility, for example in some of details -of the output of C. See L for more information. - -=item * - -The internal structure of the C directory in the perl source has -been reorganised. In general, a module C whose source was -stored under F is now located under F. Also, -nearly all dual-life modules have been moved from F to F. 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 F parameter. Specifically, this change does not by -default alter the location of any files in the final installation. +Perl's developers now use git, rather than Perforce. This should be +a purely internal change only relevant to people actively working on +the core. However, you may see minor difference in perl as a consequence +of the change. For example in some of details of the output of C. See L for more information. =item * As part of the C 2.x to 3.x upgrade, the experimental C module has been removed. -See L for more details. +See L for more details. =item * @@ -610,16 +438,6 @@ have been removed from this distribution. C no longer contains the C<%:patchlevel> hash. -=item * - -This one is actually a change introduced in 5.10.0, but it was missed -from that release's perldelta, so it is mentioned here instead. - -A bugfix related to the handling of the C modifier and C resulted -in a change of behaviour between 5.8.x and 5.10.0: - - # matches in 5.8.x, doesn't match in 5.10.0 - $re = qr/^bar/; "foo\nbar" =~ /$re/m; =item * @@ -659,6 +477,7 @@ longer be used as an attribute. =back + =head1 Deprecations From time to time, Perl's developers find it necessary to deprecate @@ -676,11 +495,17 @@ one major release. So long as a deprecated feature isn't actively disrupting our ability to maintain and extend Perl, we'll try to leave it in place as long as possible. -The following items are now deprecated. +The following items are now deprecated: -=over 4 +=over + +=item suidperl + +C is no longer part of Perl. It used to provide a mechanism to +emulate setuid permission bits on systems that don't support it properly. -=item Use of C<:=> to mean an empty attribute list is now deprecated. + +=item Use of C<:=> to mean an empty attribute list An accident of Perl's parser meant that these constructions were all equivalent: @@ -711,13 +536,14 @@ The method C<< UNIVERSAL->import() >> is now deprecated. Attempting to pass import arguments to a C statement will result in a deprecation warning. -=item Use of "goto" to jump into a construct is deprecated + +=item Use of "goto" to jump into a construct Using C to jump from an outer scope into an inner scope is now deprecated. This rare use case was causing problems in the implementation of scopes. -=item Custom character names in \N{name} should look like names +=item Custom character names in \N{name} that don't look like names In C<\N{I}>, I can be just about anything. The standard Unicode names have a very limited domain, but a custom name translator could create @@ -761,29 +587,29 @@ packages to get that same functionality. =item L -Switch is buggy and should be avoided. See L for its replacement. +Switch is buggy and should be avoided. You may find Perl's new +C/C feature a suitable replacement. See L for more information. =back -=item suidperl - -C has been removed. It used to provide a mechanism to -emulate setuid permission bits on systems that don't support it properly. - =item Assignment to $[ -=item attrs +=item Use of the attribute :locked on subroutines -Remove attrs, which has been deprecated since 1999-10-02. +=item Use of "locked" with the attributes pragma -=item Use of the attribute :locked on subroutines. +=item Use of "unique" with the attributes pragma -=item Use of "locked" with the attributes pragma. +=item Perl_pmflag -=item Use of "unique" with the attributes pragma. +C is no longer part of Perl's public API. Calling it now +generates a deprecation warning, and it will be removed in a future +release. Although listed as part of the API, it was never documented, +and only ever used in F, and prior to 5.10, F. In +core, it has been replaced by a static function. -=item Numerous Perl 4-era libraries: +=item Numerous Perl 4-era libraries F, F, F, F, F, F, F, F, F, F, @@ -793,133 +619,197 @@ F, F, F, F, F, F, F, F, F, and F are all now deprecated. Using them will incur a warning. + =back -=head1 Modules and Pragmata +=head1 Unicode overhaul -=head2 Dual-lifed modules moved +Perl's developers have made a concerted effort to update Perl to be in +sync with the latest Unicode standard. Changes for this include: -Dual-lifed modules maintained primarily in the Perl core now live in dist/. -Dual-lifed modules maintained primarily on CPAN now live in cpan/ +Perl can now handle every Unicode character property. New documentation, +L, lists all available non-Unihan character properties. By +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. -In previous releases of Perl, it was customary to enumerate all module -changes in this section of the C 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. +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). -=head2 New Modules and Pragmata +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. -=over 4 +Perl now accepts all the Unicode-defined synonyms for properties and property values. -=item * +C, which matches a Unicode logical character, has been expanded to work +better with various Asian languages. It now is defined as an I. (See L). +Anything matched previously and that made sense will continue to be +accepted. Additionally: -C +=over -This is a new lexically-scoped alternative for the C module. -The bundled version is 2.06_01. Note that in this release, using a string -eval when C is in effect can cause the autodie behaviour to leak -into the surrounding scope. See L for more details. +=item * + +C<\X> will not break apart a C> sequence. =item * -C +C<\X> will now match a sequence which includes the C and C characters. + +=item * -This has been added to the core (version 2.020). +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. 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 +C<\X> will now match a (Korean) Hangul syllable sequence, and the Thai and Lao +exception cases. -This pragma establishes an ISA relationship with base classes at compile -time. It provides the key feature of C without further unwanted -behaviors. +=back -=item * +Otherwise, this change should be transparent for the non-affected languages. -C +C<\p{...}> matches using the Canonical_Combining_Class property were +completely broken in previous releases of Perl. They should now work correctly. -This has been added to the core (version 1.39). +Before Perl 5.12, the Unicode C property and a +Perl extension had the same name, which led to neither matching all the +correct values (with more than 100 mistakes in one, and several thousand +in the other). The Perl extension has now been renamed to be +C (short: C). It has the same +meaning as was previously intended, namely the union of all the +non-canonical Decomposition types, with Unicode C being just one of +those. -=back +C<\p{Decomposition_Type=Canonical}> now includes the Hangul syllables. -=head2 Pragmata Changes +C<\p{Uppercase}> and C<\p{Lowercase}> now work as the Unicode standard says they should. +This means they each match a few more characters than they used to. -=over 4 +C<\p{Cntrl}> now matches the same characters as C<\p{Control}>. This means it +no longer will match Private Use (gc=co), Surrogates (gc=cs), nor Format +(gc=cf) code points. The Format code points represent the biggest +possible problem. All but 36 of them are either officially deprecated +or strongly discouraged from being used. Of those 36, likely the most +widely used are the soft hyphen (U+00AD), and BOM, ZWSP, ZWNJ, WJ, and +similar characters, plus bidirectional controls. -=item * +C<\p{Alpha}> now matches the same characters as C<\p{Alphabetic}>. Before 5.12, Perl's definition +definition included a number of things that aren't really alpha (all +marks) while omitting many that were. The +definitions of C<\p{Alnum}> and C<\p{Word}> depend on Alpha's definition and have changed accordingly. -C +C<\p{Word}> no longer incorrectly matches non-word characters such as fractions. -See L pragma"> above. +C<\p{Print}> no longer matches the line control characters: Tab, LF, CR, +FF, VT, and NEL. This brings it in line with standards and the documentation. -=item * +C<\p{XDigit}> now matches the same characters as C<\p{Hex_Digit}>. This +means that in addition to the characters it currently matches, +C<[A-Fa-f0-9]>, it will also match the 22 fullwidth equivalents, for +example U+FF10: FULLWIDTH DIGIT ZERO. -C +The Numeric type property has been extended to include the Unihan +characters. -The C pragma has been removed. It had been marked as deprecated since -5.6.0. +There is a new Perl extension, the 'Present_In', or simply 'In', +property. This is an extension of the Unicode Age property, but +C<\p{In=5.0}> matches any code point whose usage has been determined +I Unicode version 5.0. The C<\p{Age=5.0}> only matches code points +added in I version 5.0. -=item * +A number of properties now have the correct values for unassigned +code points. The affected properties are +Bidi_Class, East_Asian_Width, Joining_Type, Decomposition_Type, +Hangul_Syllable_Type, Numeric_Type, and Line_Break. -C +The Default_Ignorable_Code_Point, ID_Continue, and ID_Start properties +are now up to date with current Unicode definitions. -The Unicode F 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}">. +Earlier versions of Perl erroneously exposed certain properties that are supposed to be Unicode internal-only. +Use of these in regular expressions will now generate, if enabled, a deprecation warning message. +The properties are: Other_Alphabetic, Other_Default_Ignorable_Code_Point, +Other_Grapheme_Extend, Other_ID_Continue, Other_ID_Start, Other_Lowercase, +Other_Math, and Other_Uppercase. -=item * +It is now possible to change which Unicode properties Perl understands +on a per-installation basis. As mentioned above, certain properties +are turned off by default. These include all the Unihan properties +(which should be accessible via the CPAN module Unicode::Unihan) and any +deprecated or Unicode internal-only property that Perl has never exposed. -C +The generated files in the C directory are now more +clearly marked as being stable, directly usable by applications. +New hash entries in them give the format of the normal entries, +which allows for 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. -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) 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 +=head1 Modules and Pragmata -Upgraded from version 1.00 to 1.01. Performance for single inheritance is 40% -faster - see L below. +=head2 Notable new Modules and Pragmata -C is now implemented as an XS extension. The documented interface has not -changed. Code relying on the implementation detail that some C -methods happened to be available at all times gets to "keep both pieces". +=over 4 =item * -C +C is a new lexically-scoped alternative for the C module. +The bundled version is 2.06_01. Note that in this release, using a string +eval when C is in effect can cause the autodie behaviour to leak +into the surrounding scope. See L for more details. + +=item * -Supports %.0f formatting internally. +C =item * -C +C allows you to lexically disable or enable overloading +for some or all operations. (Yuval Kogman) -Allow overloading of 'qr'. +=item * + +C establishes an ISA relationship with base classes at compile +time. It provides the key feature of C without further unwanted +behaviors. =item * -C +C -Upgraded from version 1.19 to 1.20. +=back -=item * +=head2 Notable changes to Modules and Pragmata -C +=over 4 -This pragma no longer suppresses C warnings. [perl #71204] +=item * + +C now contains the Unicode F database file. +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 +In C, 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) 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. -Upgraded from 1.13 to 1.14. Added the C feature: +C now includes the C feature: use feature "unicode_strings"; @@ -930,61 +820,59 @@ internal UTF-8 flag set, but that contain single-byte characters between =item * -C - -Upgraded from version 1.74 to 1.75. +C is now implemented as an XS extension. The documented interface has not +changed. Code relying on the implementation detail that some C +methods happened to be available at all times gets to "keep both pieces". =item * -C +C now supports %.0f formatting internally. -Upgraded from version 0.02 to 0.03. +=item * -This version introduces the C method to allow subclasses of -C to pick where in %^H to store their stash. +C now allow overloading of 'qr'. =item * -C - -Upgraded from version 0.77 to 0.81. +C no longer suppresses C warnings. [perl #71204] -This version adds support for L as described earlier -in this document and in its own documentation. +C now includes the C method to allow subclasses of +C to pick where in %^H to store their stash. =item * -C +C now has support for L as described earlier +in this document and in its own documentation. -Upgraded from 1.07 to 1.09. +=item * -Added new C function. -This version adds the C warning category. See also L for this change. +C has a new C function. It also includes a new C warning category. See also L for this change. =back -=head2 Updated Modules +=head2 Removed Modules and Pragmata =over 4 -=item XXX TODO RECALCULATE THIS VS 5.10.0 - -=back +=item * -=head2 Removed Modules and Pragmata +C -=over 4 +The C pragma has been removed. It had been marked as deprecated +since 5.6.0. =item * -C - -Removed from the Perl core. Prior version was 'undef'. +C is no longer part of the Perl core. =back +=head2 Deprecated Modules and Pragmata + +See L above. + =head1 Documentation =head2 New Documentation @@ -993,29 +881,21 @@ Removed from the Perl core. Prior version was 'undef'. =item * -L - -This contains instructions on how to build perl for the Haiku platform. +L contains instructions on how to build perl for the Haiku platform. =item * -L - -This describes the new interface for pluggable Method Resolution Orders. +L describes the new interface for pluggable Method Resolution Orders. =item * -L - -This document, by Richard Foley, provides an introduction to the use of +L, by Richard Foley, provides an introduction to the use of performance and optimization techniques which can be used with particular reference to perl programs. =item * -L - -This describes how to access the perl source using the I version +L describes how to access the perl source using the I version control system. =item * @@ -1027,6 +907,7 @@ the beginnings of a document on Perl porting policies. =head2 Changes to Existing Documentation + =over @@ -1039,7 +920,7 @@ be extracted from the git version control system. =item * -The file F has been deleted, as it mainly described +F has been deleted, as it mainly described interacting with the old Perforce-based repository, which is now obsolete. Information still relevant has been moved to L. @@ -1062,7 +943,7 @@ Documented that C treats specially most of the filetest operators =item * -Documented C as a syntax modifier +Documented C as a syntax modifier. =item * @@ -1079,7 +960,9 @@ patch removes the deprecation notice. =item * -Added security contact information to L +Security contact information is now part of L. + +=item * A significant fraction of the core documentation has been updated to clarify the behavior of Perl's Unicode handling. @@ -1088,6 +971,8 @@ Much of the remaining core documentation has been reviewed and edited for clarity, consistent use of language, and to fix the spelling of Tom Christiansen's name. +=item * + The Pod specification (L) has been updated to bring the specification in line with modern usage already supported by most Pod systems. A parameter string may now follow the format name in a @@ -1095,6 +980,8 @@ systems. A parameter string may now follow the format name in a allowed. The usage of C"section"E> has been marked as deprecated. +=item * + L has been documented in L as a means to get conditional loading of modules despite the implicit BEGIN block around C. @@ -1109,7 +996,7 @@ C<\N{U+I}> is now documented. =back -=head1 Performance Enhancements +=head1 Selected Performance Enhancements =over 4 @@ -1136,15 +1023,15 @@ Empty C methods are no longer called. =item * -Faster C +C is now faster. =item * -Speed up C on empty hash +C on empty hash is now faster. =item * -C has been optimized to be faster than C +C has been optimized to be faster than C. =item * @@ -1158,30 +1045,6 @@ C methods. =head1 Installation and Configuration Improvements -=head2 F reorganisation - -The layout of directories in F has been revised. Specifically, all -extensions are now flat, and at the top level, with C in pathnames -replaced by C<->, so that F is now F, -etc. The names of the extensions as specified to F, and as -reported by C<%Config::Config> under the keys C, -C, C and C have not changed, and -still use C. Hence this change will not have any affect once perl is -installed. C has been split out from being part of C, and -C is now an extension in its own right. - -Nearly all dual-life modules have been moved from F to F, and will -now appear as known C. This will made no difference to the -structure of an installed perl, nor will the modules installed differ, -unless you run F 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, have now become extensions, and -without them the build will fail well before it attempts to run the -regression tests. - -=head2 Other Installation and Configuration Improvements - =over 4 =item * @@ -1220,67 +1083,76 @@ C. =item * -USE_ATTRIBUTES_FOR_PERLIO is now reported in the compile-time options -listed by the C<-V> switch. - -=item * - -Support for SystemTap's C compatibility layer has been added and an +Perl now supports SystemTap's C compatibility layer and an issue with linking C has been fixed in the process. =item * -C is now used instead of C for C's new usage of ANSI -escape codes by setting C<$Config{less}> (and thereby C<$Config{pager}>, -which fixes RT #72156. +perldoc now uses C instead of C for improved behaviour +in the face of C's new usage of ANSI escape codes. =item * -USE_PERL_ATOF is now reported in the compile-time options listed by the C<-V> -switch. - -=back +C now reports use of the compile-time options C and +C. -=head2 Compilation improvements +=item * As part of the flattening of F, all extensions on all platforms are built by F. This replaces the Unix-specific F, VMS-specific F and Win32-specific F. -=head1 Changed Internals +=back -=over 4 +=head1 Internal Changes + +Each release of Perl sees numerous internal changes which shouldn't +affect day to day usage but may still be notable for developers working +with Perl's source code. + +=over =item * -C has been removed from the public API. Calling it now -generates a deprecation warning, and it will be removed in a future -release. Although listed as part of the API, it was never documented, -and only ever used in F, and prior to 5.10, F. In -core, it has been replaced by a static function. +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 * -Perl_magic_setmglob now knows about globs, fixing RT #71254. +The internal structure of the dual-life modules traditionally found in +the F and F directories y in the perl source has changed +significantly. Where possible, dual-lifed modules have been extracted +from F and F. + +Dual-lifed modules maintained by Perl's developers as part of the Perl +core now live in F. Dual-lifed modules maintained primarily on +CPAN now live in F. When reporting a bug in a module located +under F, please send your bug report directly to the module's +bug tracker or author, rather than Perl's bug tracker. =item * -TODO: C is gone. RVs are now stored in IVs +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 of C<\N{I}> +that did not use a custom translator, but now it's always true.) =item * -TODO: REGEXPs are first class +Perl_magic_setmglob now knows about globs, fixing RT #71254. =item * -TODO: OOK is reworked, such that an OOKed scalar is PV not PVIV +C no longer exists. RVs are now stored in IVs. =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. +REGEXPs are now first class. =item * @@ -1315,17 +1187,13 @@ Two flag bits are currently supported. =item * -C - -This will call C for you. (Note that this does not convert an +C will call C for you. (Note that this does not convert an sequence of ISO 8859-1 characters to UTF-8). A wrapper, C is available for this. =item * -C - -Call C on the new SV. +C now calls C on the new SV. =back @@ -1338,8 +1206,7 @@ C. =item * -The functions C and C are now -exported. +Perl now exports the functions C and C. =item * @@ -1373,22 +1240,6 @@ public IV or NV flags if the value is out of range for the type. =item * -SV allocation tracing has been added to the diagnostics enabled by C<-Dm>. -The tracing can alternatively output via the C mechanism, if -that was enabled when the F 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, C, C, C, C etc have been replaced by C in the core code, and non-dual-life modules, as C is clearer to those unfamiliar with the core code. @@ -1412,26 +1263,58 @@ stack and mortalizing them. Use of the private structure C has changed slightly. Nothing outside the core should be accessing this directly anyway. -=item * +=item * + +A new tool, F 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. + +=back + +=head1 Testing + +=head2 Testing improvements + +=over 4 + +=item Parallel tests + +The core distribution can now run its regression tests in parallel on +Unix-like platforms. Instead of running C, set C in +your environment to the number of tests to run in parallel, and run +C. On a Bourne-like shell, this can be done as + + TEST_JOBS=3 make test_harness # Run 3 tests in parallel -A new tool, F 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. +An environment variable is used, rather than parallel make itself, because +L needs to be able to schedule individual non-conflicting test +scripts itself, and there is no standard interface to C utilities to +interact with their job schedulers. -=back +Note that currently some test scripts may fail when run in parallel (most +notably C). If necessary run just the failing scripts +again sequentially and see if the failures go away. -=head1 Testing +=item Test harness flexibility -=head2 New Tests +It's now possible to override C and friends in F + +=item Test watchdog -Many modules updated from CPAN incorporate new tests. 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 and C run to completion automatically. (Jerry Hedden). -Some core-specific tests have been added: + +=back + +=head2 New Tests + +Perl's developers have added a number of new tests to the core. +In addition to the items listed below, many modules updated from CPAN +incorporate new tests. =over 4 @@ -1457,241 +1340,172 @@ F now tests that all files listed in MANIFEST are present. =item * -F - -Test that a bare readdir in while loop sets $_. +F tests that a bare readdir in while loop sets $_. =item * -F - -Check that the debugger can retain source lines from C. +F checks that the debugger can retain source lines from C. =item * -F - -Check that bad layers fail. +F checks that bad layers fail. =item * -F - -Check that PerlIO layers are not leaking. +F checks that PerlIO layers are not leaking. =item * -F - -Check that certain special forms of open work. +F checks that certain special forms of open work. =item * -F - -General PerlIO tests. +F includes general PerlIO tests. =item * -F - -Check that there is no unexpected interaction between the internal types +F checks that there is no unexpected interaction between the internal types C and C. =item * -F - -Check that mro works properly in the presence of aliased packages. +F checks that mro works properly in the presence of aliased packages. =item * -F - -Tests for C and C. +F tests C and C. =item * -F - -Tests for the interaction of C and threads. +F tests the interaction of C and threads. =item * -F - -Tests for the interaction of esoteric patterns and threads. +F tests the interaction of esoteric patterns and threads. =item * -F - -Test that C doesn't leak. +F tests that C doesn't leak. =item * -F - -Tests for the interaction of regex recursion and threads. +F tests the interaction of regex recursion and threads. =item * -F - -Tests for the interaction of patterns with embedded C and threads. +F tests the interaction of patterns with embedded C and threads. =item * -F - -Tests for Unicode properties in regular expressions. +F tests Unicode properties in regular expressions. =item * -F - -Tests for the interaction of Unicode properties and threads. +F tests the interaction of Unicode properties and threads. =item * -F - -Test the tied methods of C. +F tests the tied methods of C. =item * -F - -Check that POSIX character classes behave consistently. +F checks that POSIX character classes behave consistently. =item * F -Check that exportable C functions in F work. +checks that exportable C functions in F work. =item * -F - -Check that C works. +F checks that C works. =item * -F - -Tests for the interaction of C and threads. +F tests the interaction of C and threads. =item * -F - -Check that upgrading and assigning scalars works. +F checks that upgrading and assigning scalars works. =item * -F - -Check that Unicode in the lexer works. +F checks that Unicode in the lexer works. =item * -F - -Check that Unicode and C work. +F checks that Unicode and C work. =item * -F - -See if line numbers are correct at EOF +F tests whether line numbers are correct at EOF =item * -F - -See if format scoping works +F tests format scoping. =item * -F - -See if C<< @{"_<$file"} >> works +F tests whether C<< @{"_<$file"} >> works. =item * -F - -See if -t file test works +F tests if -t file test works. =item * -F - -See if qr works +F tests C. =item * -F - -Tests malfunctions of utf8 cache +F tests malfunctions of the utf8 cache. =item * -F - -Test unicode \p{} regex constructs +F test unicodes C<\p{}> regex constructs. =item * -F - -Tests some suitably portable filetest operators to check that they work as -expected, particularly in the light of some internal changes made in how -filehandles are blessed. +F tests some suitably portable filetest operators +to check that they work as expected, particularly in the light of some +internal changes made in how filehandles are blessed. =item * -F - -Tests that times greater than C<2**63>, which can now be handed to C -and C, do not cause an internal overflow or an excessively long -loop. +F tests that unix times greater than C<2**63>, which +can now be handed to C and C, do not cause an internal +overflow or an excessively long loop. =back -=head2 Testing improvements - -=over 4 -=item Parallel tests +=head1 New or Changed Diagnostics -The core distribution can now run its regression tests in parallel on -Unix-like platforms. Instead of running C, set C in -your environment to the number of tests to run in parallel, and run -C. On a Bourne-like shell, this can be done as +=head2 New Diagnostics - TEST_JOBS=3 make test_harness # Run 3 tests in parallel +=over -An environment variable is used, rather than parallel make itself, because -L needs to be able to schedule individual non-conflicting test -scripts itself, and there is no standard interface to C utilities to -interact with their job schedulers. +=item * -Note that currently some test scripts may fail when run in parallel (most -notably C). If necessary run just the failing scripts -again sequentially and see if the failures go away. +SV allocation tracing has been added to the diagnostics enabled by C<-Dm>. +The tracing can alternatively output via the C mechanism, if +that was enabled when the F binary was compiled. -=item Test harness flexibility +=item * -It's now possible to override C and friends in F +Smartmatch resolution tracing has been added as a new diagnostic. Use C<-DM> to +enable it. -=back +=item * +A new debugging flag C<-DB> now dumps subroutine definitions, leaving +C<-Dx> for its original purpose of dumping syntax trees. -=head1 New or Changed Diagnostics +=item * -Several new diagnostics, see L for details. +Perl 5.12 provides a number of new diagnostic messages to help you write +better code. See L for details of these new messages. =over 4 @@ -1729,35 +1543,15 @@ C =item * -New warning category C - -The two warnings : - - Illegal character in prototype for %s : %s - Prototype after '%c' for %s : %s - -have been moved from the C top-level warnings category into a new -first-level category, C. These two warnings are currently the -only ones emitted during parsing of an invalid/illegal prototype, so one -can now do - - 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 -category as before. (Matt S. Trout) - -=item * - -lvalue attribute ignored after the subroutine has been defined +C This new warning is issued when one attempts to mark a subroutine as lvalue after it has been defined. =item * -warn 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". @@ -1767,66 +1561,97 @@ C, C, C, and C warn when passed undef. =item * -Show constant in "Useless use of a constant in void context" +C =item * -Make the new warning report undef constants as undef +C =item * -Add a new warning, "Prototype after '%s'" +C + +This new fatal error occurs when the C routine C was +passed a position that is not within the scalar's string buffer. This +could be caused by buggy XS code, and at this point recovery is not +possible. + =item * -Tweak the "Illegal character in prototype" warning so it's more precise -when reporting illegal characters after _ +The fatal error C is now produced if the +C handler returns malformed UTF-8. =item * -Correct the unintended interpolation of C<$\> in regex +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 for more examples of +how the lexer can get bypassed. =item * -Make overflow warnings in C and C only occur when -warnings are enabled +C is a new fatal error triggered when +the character constant represented by C<...> is not a valid hexadecimal +number. =item * -Improve mro merging error messages. +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{...}>. + +=item * -They are now very similar to those produced by Algorithm::C3. +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 is +now issued. =item * -Amelioration of the error message "Unrecognized character %s in column %d" +The warning C will be +issued if the C 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. -Changes the error message to "Unrecognized character %s; marked by E-- -HERE after %sE-- HERE near column %d". This should make it a little -simpler to spot and correct the suspicious character. +=back -=item * +=back -Explicitely point to C<$.> when it causes an uninitialized warning for -ranges in scalar context +=head2 Changed Diagnostics -=item * +A number of existing diagnostic messages have been improved or corrected: -C now warns when called in void context +=over =item * -C-style functions called with too few arguments will now issue the -warning C<"Missing argument in %s"> [perl #71000] +A new warning category C allows finer-grained control of +warnings around function prototypes. -=item * +The two warnings: -C +=over -This new fatal error occurs when the C routine C was -passed a position that is not within the scalar's string buffer. This -could be caused by buggy XS code, and at this point recovery is not -possible. +=item C + +=item C + +=back + +have been moved from the C top-level warnings category into a new +first-level category, C. These two warnings are currently the +only ones emitted during parsing of an invalid/illegal prototype, so one +can now do + + 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 +category as before. (Matt S. Trout) =item * @@ -1838,88 +1663,78 @@ pre-processor macro C to the desired value. =item * -Perl now properly returns a syntax error instead of segfaulting -if C, C, or C is used without an argument. +C warning is now more precise +when reporting illegal characters after _ =item * -C now fails properly if called without an argument and when no -previous file was read. - -C now returns C<-1>, and sets errno to C, thus restoring -the 5.8.x behaviour. +mro merging error messages are now very similar to those produced by L. =item * -C no longer implicitly unsets fallback on repeated 'use -overload' lines. +Amelioration of the error message "Unrecognized character %s in column %d" + +Changes the error message to "Unrecognized character %s; marked by E-- +HERE after %sE-- HERE near column %d". This should make it a little +simpler to spot and correct the suspicious character. =item * -POSIX::strftime() can now handle Unicode characters in the format string. +Perl now explicitly points to C<$.> when it causes an uninitialized warning for +ranges in scalar context. =item * -The Windows select() implementation now supports all empty Cs -more correctly. +C now warns when called in void context. =item * -The "syntax" category was removed from 5 warnings that should only be in -"deprecated". +C-style functions called with too few arguments will now issue the +warning C<"Missing argument in %s"> [perl #71000] =item * -Three fatal C/C error messages have been normalized to -"panic: %s" +Perl now properly returns a syntax error instead of segfaulting +if C, C, or C is used without an argument. =item * -"Unicode character is illegal" has been rephrased to be more accurate +C now fails properly if called without an argument and when no +previous file was read. -It now reads C and the -perldiag documentation has been expanded a bit. +C now returns C<-1>, and sets errno to C, thus restoring +the 5.8.x behaviour. =item * -The fatal error C is now produced if the -C handler returns malformed UTF-8. +C no longer implicitly unsets fallback on repeated 'use +overload' lines. =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 for more examples of -how the lexer can get bypassed. +POSIX::strftime() can now handle Unicode characters in the format string. =item * -The fatal error C will be produced -if the character constant represented by C<...> is not a valid hexadecimal -number. +The Windows select() implementation now supports all empty Cs +more correctly. =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{...}>. +The C category was removed from 5 warnings that should only be in +C. =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 is -now issued. +Three fatal C/C error messages have been normalized to +C =item * -The warning C will be -issued if the C 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. +C has been rephrased to be more accurate + +It now reads C and the +perldiag documentation has been expanded a bit. =item * @@ -1947,7 +1762,7 @@ C. =back -The following diagnostics have been removed: +The following diagnostic messages have been removed: =over 4 @@ -1959,7 +1774,7 @@ C C -This warning has been removed. In general, it only got produced in +In general this warning it only got produced in conjunction with other warnings, and removing it allowed an ISA lookup optimisation to be added. @@ -1975,62 +1790,41 @@ C =item * -F - -Now looks in C too, which is a recent addition to gcc's +F now looks in C too, which is a recent addition to gcc's search path. =item * -F - -No longer incorrectly treats enum values like macros (Daniel Burr). - -Now handles C++ style constants (C) properly in enums. (A patch from +F 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). =item * -F - -C subroutines now work under the debugger. - -The debugger now correctly handles proxy constant subroutines, and -subroutine stubs. - -=item * - -F - -F 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 -that the core copies the CPAN version directly, and provide the URL for -reporting the bug directly to upstream. +F now supports C subroutines. Additionally, the debugger now correctly handles proxy constant subroutines, and subroutine stubs. =item * -F +F now uses C<%Module::CoreList::bug_tracker> to print out +upstream bug tracker URLs. If a user identifies a particular module +as the topic of their bug report and we're able to divine ithe URL for +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. -Perl 5.11.0 added a new utility F, which is a variant of -F, 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. +F no longer reports "Message sent" when it hasn't actually sent the message =item * -F - -No longer reports "Message sent" when it hasn't actually sent the message +F is a new utility for sending non-bug-reports to the +authors and maintainers of Perl. Getting nothing but bug reports can +become a bit demoralising. If Perl 5.12 works well for you, please try +out F. It will make the developers smile. =item * -F - -Fixed bugs with the match() operator in list context, remove mention of -C<$[>. +Perl's developers have fixed bugs in F having to do with the +C operator in list context. =back @@ -2040,7 +1834,11 @@ C<$[>. =item * -Ensure that pp_qr returns a new regexp SV each time. Resolves RT #69852. +U+0FFFF is now a legal character in regular expressions. + +=item * + +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 @@ -2406,49 +2204,48 @@ or cause the following assertion failure [RT #60508]: =item * -Previously missing files from Unicode 5.1 Character Database are now included. +Perl now includes previously missing files from the Unicode 5.1 Character Database. =item * -C is now honored when opening an anonymous temporary file +Perl now honors C when opening an anonymous temporary file. =back + =head1 Platform Specific Changes +Perl is incredibly portable. In general, if a platform has a C compiler, +someone has ported Perl to it (or will soon). We're happy to announce +that Perl 5.12 includes support for several new platforms. At the same +time, it's time to bid farewell to some (very) old friends. + =head2 New Platforms =over =item Haiku -Patches from the Haiku maintainers have been merged in. Perl should now +Perl's developers have merged patches from Haiku's maintainers. Perl should now build on Haiku. =item MirOS BSD Perl should now build on MirOS BSD. - =back =head2 Discontinued Platforms + =over =item DomainOS -Support for Apollo DomainOS was removed in Perl 5.11.0 - -=item MachTen - -Support for Tenon Intersystems MachTen Unix layer for MacOS Classic was -removed in Perl 5.11.0 +=item Tenon MachTen =item MiNT -Support for Atari MiNT was removed in Perl 5.11.0. - =back =head2 Updated Platforms @@ -2487,7 +2284,7 @@ Fix thread library selection [perl #69686] =item * -Initial support for mingw64 is now available +Initial support for mingw64 is now available. =item * @@ -2527,7 +2324,7 @@ will no longer be dropped under race conditions. =item * -Enable IPv6 support on cygwin 1.7 and newer +Perl now suppoorts IPv6 on cygwin 1.7 and newer. =back @@ -2537,7 +2334,7 @@ Enable IPv6 support on cygwin 1.7 and newer =item * -Make -UDEBUGGING the default on VMS for 5.12.0. +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 @@ -2618,6 +2415,7 @@ There is now support for Symbian S60 3.2 SDK and S60 5.0 SDK. =back + =head1 Known Problems This is a list of some significant unfixed bugs, which are regressions @@ -2649,16 +2447,24 @@ will appear to hang as they get into a very long running loop [RT #72998]. =item * -Untriaged test crashes on Windows 2000 - Several porters have reported mysterious crashes when Perl's entire test suite is run after a build on certain Windows 2000 systems. When run by hand, the individual tests reportedly work fine. +=back + +=head1 Errata + +=over + =item * -Known test failures on VMS +This one is actually a change introduced in 5.10.0, but it was missed +from that release's perldelta, so it is mentioned here instead. + +A bugfix related to the handling of the C modifier and C resulted +in a change of behaviour between 5.8.x and 5.10.0: -Perl 5.11.1 fails a small set of core and CPAN tests as of this release. -With luck, that'll be sorted out for 5.11.2 + # matches in 5.8.x, doesn't match in 5.10.0 + $re = qr/^bar/; "foo\nbar" =~ /$re/m; =back