In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/52c4b146f296c26f4747a557a123215167a38693?hp=89cbc6b89cf3c14bdbf0ba7f75e7c79f9041918f>
- Log ----------------------------------------------------------------- commit 52c4b146f296c26f4747a557a123215167a38693 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:53:26 2012 -0700 perldelta for undef *_, &CORE::time crash M pod/perldelta.pod commit 2de6ba8d2eb36e7ba17dc00b308f5743d38c9792 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:52:11 2012 -0700 perldelta for while(each %h) M pod/perldelta.pod commit 422287bfefe4703bc8a620b256126b72f1a09a5d Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:50:41 2012 -0700 perldelta for pos %foo M pod/perldelta.pod commit e3329bf09b297e731a9a334cfee94e4e1f6e8e09 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:49:31 2012 -0700 perldelta for âno overload "invalid"â warnings M pod/perldelta.pod commit c46431605f4dc5e36bd7df9fa96f8580074505cf Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:48:29 2012 -0700 perldelta for overload fallback inheritance M pod/perldelta.pod commit 8e12518897fdadcd986151370d99adadc668874a Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:47:24 2012 -0700 perldelta for overload caching bug fixes M pod/perldelta.pod commit a3367fbacc3982a6933676d7300b035a3e2493b1 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:44:35 2012 -0700 perldelta for changed AMAGIC table mechanism M pod/perldelta.pod commit be8dfbf7a81bd17c20afbc39e2aa3789ef085d40 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:36:55 2012 -0700 perldelta for File::statâs -p M pod/perldelta.pod commit c6b15a5ac0d527c8b2847a46ac08bf5bf50ce274 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:32:17 2012 -0700 perldelta for vec w/2GB offsets M pod/perldelta.pod commit 435b0bdb997867cf70ace4b19d5b903e1fae1d73 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:30:31 2012 -0700 perldelta for File::stat -r warning M pod/perldelta.pod ----------------------------------------------------------------------- Summary of changes: pod/perldelta.pod | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 71 insertions(+), 3 deletions(-) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 80a4b50..1264cbe 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -97,7 +97,17 @@ XXX =item * -L<Hash::Util> has been upgraded from version 0.11 to version 0.12. +L<File::stat> has been upgraded from version 1.05 to 1.06. + +C<File::stat> ignores the L<filetest> pragma, and warns when used in +combination therewith. But it was not warning for C<-r>. This has been +fixed [perl #111640]. + +C<-p> now works, and does not return false for pipes [perl #111638]. + +=item * + +L<Hash::Util> has been upgraded from version 0.11 to 0.12. C<hash_unlocked> and C<hashref_unlocked> now returns true if the hash is unlocked, instead of always returning false [perl #112126]. @@ -111,7 +121,13 @@ did not exist [perl #112126]. =item * -L<Storable> has been upgraded from version 2.34 to version 2.35. +L<overload> has been upgraded from version 1.18 to 1.19. + +C<no overload> now warns for invalid arguments, just like C<use overload>. + +=item * + +L<Storable> has been upgraded from version 2.34 to 2.35. Modifying C<$_[0]> within C<STORABLE_freeze> no longer results in crashes [perl #112358]. @@ -325,7 +341,25 @@ be noted as well. =item * -XXX +The C<SVf_AMAGIC> flag to indicate overloading is now on the stash, not the +object. It is now set automatically whenever a method or @ISA changes, so +its meaning has changed, too. It now means "potentially overloaded". When +the overload table is calculated, the flag is automatically turned off if +there is no overloading, so there should be no noticeable slowdown. + +The staleness of the overload tables is now checked when overload methods +are invoked, rather than during C<bless>. + +"A" magic is gone. The changes to the handling of the C<SVf_AMAGIC> flag +eliminate the need for it. + +The core no longer increments C<PL_amagic_generation> (it doesn't need to). +But an XS module can still increment it to mark all overload tables as +stale. (It is still not part of the API, though.) Do not rely on this. +It may be deleted in the next release. + +The fallback overload setting is now stored in its own stash entry, called +"(fallback". =back @@ -386,6 +420,40 @@ C<method {}> syntax with an empty block or a block returning an empty list used to crash or use some random value left on the stack as its invocant. Now it produces an error. +=item * + +C<vec> now works with extremely large offsets (>2 GB) [perl #111730]. + +=item * + +Changes to overload settings now take effect immediately, as do changes to +inheritance that affect overloading. They used to take effect only after +C<bless>. + +Objects that were created before a class had any overloading used to remain +non-overloaded even if the class gained overloading through C<use overload> +or @ISA changes, and even after C<bless>. This has been fixed +[perl #112708]. + +=item * + +Classes with overloading can now inherit fallback values. + +=item * + +C<pos> now croaks with hash and array arguments, instead of producing +erroneous warnings. + +=item * + +C<while(each %h)> now implies C<while(defined($_ = each %h))>, like +C<readline> and C<readdir>. + +=item * + +Subs in the CORE:: namespace no longer crash after C<undef *_> when called +with no argument list (C<&CORE::time> with no parentheses). + =back =head1 Known Problems -- Perl5 Master Repository