diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-05-21 22:20:41 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-05-21 22:26:51 -0700 |
commit | ceb0881ce613204fa7534768708fdc23eae60962 (patch) | |
tree | 29eac5a6157512e8902d4234e0d2402325eb7660 /pod | |
parent | 72035cb11f54ab3ae5586bdbbc574cd4fa09adac (diff) | |
download | perl-ceb0881ce613204fa7534768708fdc23eae60962.tar.gz |
perldelta for CORE:: and TARG
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 7c1b74937d..1b9db6dd3f 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -371,6 +371,15 @@ regular expression engine, as with C<$1> [perl #112184]. 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. + =back =head1 Known Problems |