In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/89cbc6b89cf3c14bdbf0ba7f75e7c79f9041918f?hp=bf654a7f1f540fa13973d0cc70bd9934ffd924f0>
- Log ----------------------------------------------------------------- commit 89cbc6b89cf3c14bdbf0ba7f75e7c79f9041918f Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:24:00 2012 -0700 perldelta for method{} M pod/perldelta.pod commit ceb0881ce613204fa7534768708fdc23eae60962 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:20:41 2012 -0700 perldelta for CORE:: and TARG M pod/perldelta.pod commit 72035cb11f54ab3ae5586bdbbc574cd4fa09adac Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:15:33 2012 -0700 perldelta for undef *^H non-ambiguity M pod/perldelta.pod commit 83fb037c1d65b8af01183327b11fe53381aed5a4 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:12:24 2012 -0700 perldelta for Hash::Util changes M pod/perldelta.pod commit 18d0dfa85817c41bb1b8325eb8c002385fae605e Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:02:20 2012 -0700 perldelta for modding $_[0] in STORABLE_freeze M pod/perldelta.pod commit ba0d99eed01fe3c364fd2d5dd4da59cc68b0ceef Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 22:01:02 2012 -0700 perldelta for setting $^N M pod/perldelta.pod commit 5f0f4bc025e890074a2def780070d33c1008ecf6 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 21:59:31 2012 -0700 perldelta for copying call checkers to closures M pod/perldelta.pod commit 47fb883da6b96ecac38ee797acbf5a780f279d2b Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 21:57:11 2012 -0700 perldelta for hvstore and %^H M pod/perldelta.pod commit b9b99128fe5361435759e7293d5cb0299f101439 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 21:55:36 2012 -0700 perldelta for goto "\0" M pod/perldelta.pod commit cba2262af43d7f9260d071b8b4d2073352eaa8a3 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 21:52:16 2012 -0700 perldelta for goto "" M pod/perldelta.pod commit df7fb54bb6cc0392b5e4b76198f41a68b95a91ae Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 20:42:26 2012 -0700 Increase $Pod::Functions::VERSION to 1.06 The previous commit modified Pod::Functions by modifying perlfunc.pod, but we have things set up in such a way that cmp_version.t wonât see it. M ext/Pod-Functions/Functions_pm.PL commit 2a364e7e68041555b91696202d8f3a098f2ee3b9 Author: Father Chrysostomos <spr...@cpan.org> Date: Mon May 21 20:41:14 2012 -0700 Remove double space from Pod::Functions descr M pod/perlfunc.pod ----------------------------------------------------------------------- Summary of changes: ext/Pod-Functions/Functions_pm.PL | 2 +- pod/perldelta.pod | 64 +++++++++++++++++++++++++++++++++++- pod/perlfunc.pod | 2 +- 3 files changed, 64 insertions(+), 4 deletions(-) diff --git a/ext/Pod-Functions/Functions_pm.PL b/ext/Pod-Functions/Functions_pm.PL index c7bb44b..0d38aef 100644 --- a/ext/Pod-Functions/Functions_pm.PL +++ b/ext/Pod-Functions/Functions_pm.PL @@ -198,7 +198,7 @@ L<perlfunc/"Perl Functions by Category"> section. =cut -our $VERSION = '1.05'; +our $VERSION = '1.06'; require Exporter; diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 6150dc5..80a4b50 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -97,7 +97,24 @@ XXX =item * -L<XXX> has been upgraded from version 0.69 to version 0.70. +L<Hash::Util> has been upgraded from version 0.11 to version 0.12. + +C<hash_unlocked> and C<hashref_unlocked> now returns true if the hash is +unlocked, instead of always returning false [perl #112126]. + +C<hash_unlocked>, C<hashref_unlocked>, C<lock_hash_recurse> and +C<unlock_hash_recurse> are now exportable [perl #112126]. + +Two new functions, C<hash_locked> and C<hashref_locked>, have been added. +Oddly enough, these two functions were already exported, even though they +did not exist [perl #112126]. + +=item * + +L<Storable> has been upgraded from version 2.34 to version 2.35. + +Modifying C<$_[0]> within C<STORABLE_freeze> no longer results in crashes +[perl #112358]. =back @@ -324,7 +341,50 @@ L</Modules and Pragmata>. =item * -XXX +C<goto ''> now looks for an empty label, producing the "goto must have +label" error message, instead of exiting the program [perl #111794]. + +=item * + +C<goto "\0"> now dies with "Can't find label" instead of "goto must have +label". + +=item * + +The C function C<hv_store> used to result in crashes when used on C<%^H> +[perl #111000]. + +=item * + +A call checker attached to a closure prototype via C<cv_set_call_checker> +is now copied to closures cloned from it. So C<cv_set_call_checker> now +works inside an attribute handler for a closure. + +=item * + +Writing to C<$^N> used to have no effect. Now it croaks with "Modification +of a read-only value" by default, but that can be overridden by a custom +regular expression engine, as with C<$1> [perl #112184]. + +=item * + +C<undef> on a control character glob (C<undef *^H>) no longer emits an +erroneous warning about ambiguity [perl #112456]. + +=item * + +For efficiency's sake, many operators and built-in functions return the +same scalar each time. Lvalue subroutines and subroutines in the CORE:: +namespace were allowing this implementation detail to leak through. +C<print &CORE::uc("a"), &CORE::uc("b")> used to print "BB". The same thing +would happen with an lvalue subroutine returning the return value of C<uc>. +Now the value is copied in such cases. + +=item * + +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. =back diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index ce2fe53..3b984d4 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -8830,7 +8830,7 @@ Portability issues: L<perlport/wait>. =item waitpid PID,FLAGS X<waitpid> -=for Pod::Functions wait for a particular child process to die +=for Pod::Functions wait for a particular child process to die Waits for a particular child process to terminate and returns the pid of the deceased process, or C<-1> if there is no such child process. On some -- Perl5 Master Repository