summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-07-14 19:13:18 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-07-14 19:13:55 -0700
commitb8a55fe78ae4ecc0a81a2d98dba9fead6df06efb (patch)
tree00a667bfabf0d801ee01f138623aee8e645bbd66
parent6e22b38560ae8c2f1293a7f9bc2709541ea4d528 (diff)
downloadperl-b8a55fe78ae4ecc0a81a2d98dba9fead6df06efb.tar.gz
perldelta updates
-rw-r--r--pod/perldelta.pod27
1 files changed, 27 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod
index 0b91132b0d..7a093b0d0c 100644
--- a/pod/perldelta.pod
+++ b/pod/perldelta.pod
@@ -215,6 +215,16 @@ L<Group name must start with a non-digit word character in regex; marked by <--
This error has been added for C<(?&0)>, which is invalid. It used to
produce an incomprehensible error message [perl #101666].
+=item *
+
+L<Can't use an undefined value as a subroutine reference|perldiag/"Can't use an undefined value as %s reference">
+
+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<undef *ISA; @{*ISA}> 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</m> to
+produce failed or incorrect matches [perl #114068].
+
+=item *
+
+C<__SUB__> now works in a C<sort> block when the enclosing subroutine is
+predeclared with C<sub foo;> syntax [perl #113710].
+
=back
=head1 Known Problems