X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperl595delta.pod;h=96d061ac1a976093007e939ae410570937fab9b9;hb=83ce3e12e086bc5a21f37af9378b7c01fa5d73d8;hp=f24ef24efe0770797d57e76d09f808ce5b468e9c;hpb=3284ac36dc33e7498845639ced496b0e50a80783;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perl595delta.pod b/pod/perl595delta.pod index f24ef24..96d061a 100644 --- a/pod/perl595delta.pod +++ b/pod/perl595delta.pod @@ -1,6 +1,6 @@ =head1 NAME -perldelta - what is new for perl v5.9.5 +perl595delta - what is new for perl v5.9.5 =head1 DESCRIPTION @@ -35,6 +35,11 @@ anyway.) The regular expression construct C<(?p{})>, which was deprecated in perl 5.8, has been removed. Use C<(??{})> instead. (Rafael) +=head2 Pseudo-hashes have been removed + +Support for pseudo-hashes has been removed from Perl 5.9. (The C +pragma remains here, but uses an alternate implementation.) + =head2 Removal of the bytecode compiler and of perlcc C, the byteloader and the supporting modules (B::C, B::CC, @@ -238,16 +243,69 @@ to, 5.9.5. A new pragma, C (for Method Resolution Order) has been added. It permits to switch, on a per-class basis, the algorithm that perl uses to -find inherited methods in case of a mutiple inheritance hierachy. The +find inherited methods in case of a multiple inheritance hierarchy. The default MRO hasn't changed (DFS, for Depth First Search). Another MRO is available: the C3 algorithm. See L for more information. (Brandon Black) +Note that, due to changes in the implementation of class hierarchy search, +code that used to undef the C<*ISA> glob will most probably break. Anyway, +undef'ing C<*ISA> had the side-effect of removing the magic on the @ISA +array and should not have been done in the first place. + =head2 bignum, bigint, bigrat The three numeric pragmas C, C and C are now lexically scoped. (Tels) +=head2 Math::BigInt/Math::BigFloat + +Many bugs have been fixed; noteworthy are comparisons with NaN, which +no longer warn about undef values. + +The following things are new: + +=over 4 + +=item config() + +The config() method now also supports the calling-style +C<< config('lib') >> in addition to C<< config()->{'lib'} >>. + +=item import() + +Upon import, using C<< lib => 'Foo' >> now warns if the low-level library +cannot be found. To suppress the warning, you can use C<< try => 'Foo' >> +instead. To convert the warning into a die, use C<< only => 'Foo' >> +instead. + +=item roundmode common + +A rounding mode of C is now supported. + +=back + +Also, support for the following methods has been added: + +=over 4 + +=item bpi(), bcos(), bsin(), batan(), batan2() + +=item bmuladd() + +=item bexp(), bnok() + +=item from_hex(), from_oct(), and from_bin() + +=item as_oct() + +=back + +In addition, the default math-backend (Calc (Perl) and FastCalc (XS)) now +support storing numbers in parts with 9 digits instead of 7 on Perls with +either 64bit integer or long double support. This means math operations +scale better and are thus faster for really big numbers. + =head2 New Core Modules =over 4 @@ -298,6 +356,11 @@ C provide a simple generic file fetching mechanism. =item * +C and C are used by the log facility +of C. + +=item * + C is a generic archive extraction mechanism for F<.tar> (plain, gziped or bzipped) or F<.zip> files. @@ -312,6 +375,13 @@ mirrors. =over 4 +=item C + +The C pragma, its submodules C and +C and the B<-A> command-line switch have been removed. +The interface was not judged mature enough for inclusion in a stable +release. + =item C The C pragma now warns if a class tries to inherit from itself. @@ -364,7 +434,8 @@ ben Jore) As the old 5005thread threading model has been removed, in favor of the ithreads scheme, the C module is now a compatibility wrapper, to -be used in old code only. +be used in old code only. It has been removed from the default list of +dynamic extensions. =back @@ -413,16 +484,38 @@ It's now possible to build a C that doesn't depend on C on Win32. See the Win32 makefiles for details. (Vadim Konovalov) -=head2 C +=head2 win32 builds + +All win32 builds (MS-Win, WinCE) have been merged and cleaned up. + +=head2 C and C A new configuration variable, available as C<$Config{d_pseudofork}> in the L module, has been added, to distinguish real fork() support from fake pseudofork used on Windows platforms. +A new configuration variable, C, has been added, +to see if printf-like formats are allowed to be NULL. + +=head2 Help + +C has been extended with the most used option. + +Much less 'Whoa there' messages. + +=head2 64bit systems + +Better detection of 64bit(only) systems, and setting all the (library) +paths accordingly. + =head2 Ports Perl has been reported to work on MidnightBSD. +Support for Cray XT4 Catamount/Qk has been added. + +Vendor patches have been merged for RedHat and GenToo. + =head1 Selected Bug Fixes PerlIO::scalar will now prevent writing to read-only scalars. Moreover, @@ -447,6 +540,10 @@ up what categories of warnings are activated or not. (Rafael) Duping a filehandle which has the C<:utf8> PerlIO layer set will now properly carry that layer on the duped filehandle. (Rafael) +Localizing an hash element whose key was given as a variable didn't work +correctly if the variable was changed while the local() was in effect (as +in C). (Bo Lindbergh) + =head1 New or Changed Diagnostics =head2 Deprecations