From b8a55fe78ae4ecc0a81a2d98dba9fead6df06efb Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sat, 14 Jul 2012 19:13:18 -0700 Subject: [PATCH] perldelta updates --- pod/perldelta.pod | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 0b91132..7a093b0 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -215,6 +215,16 @@ L, which is invalid. It used to produce an incomprehensible error message [perl #101666]. +=item * + +L + +Calling an undefined value as a subroutine now produces this error message. +It used to, but was accidentally disabled, first in Perl 5.004 for +non-magical variables, and then in Perl 5.14 for magical (e.g., tied) +variables. It has now been restored. In the mean time, undef was treated +as an empty string [perl #113576]. + =back =head3 New Warnings @@ -582,6 +592,23 @@ Calling an undefined sub whose typeglob has been undefined now produces the customary "Undefined subroutine called" error, instead of "Not a CODE reference". +=item * + +Two bugs involving @ISA have been fixed. C<*ISA = *glob_without_array> and +C would prevent future modifications to @ISA from +updating the internal caches used to look up methods. The +*glob_without_array case was a regression from Perl 5.12. + +=item * + +Regular expression optimisations sometimes caused C<$> with C to +produce failed or incorrect matches [perl #114068]. + +=item * + +C<__SUB__> now works in a C block when the enclosing subroutine is +predeclared with C syntax [perl #113710]. + =back =head1 Known Problems -- 2.7.4