From eaed284bdf6e85198885062198178dbdce4a2ee2 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Mon, 12 Aug 2013 14:27:36 -0700 Subject: [PATCH] perldelta for mutable inlining & folding 2484f8d Stop folding of ops from changing mutability 94d5c17 Stop constant.pm from (ab)using subs for scalars 6f1b3ab Allow stash elems to be array refs f815dc1 Inline list constants c5a2441 Update constant.pm to reflect list inlinement 08f3c42 Tweak optree_constants.t for inlined list consts d244020 Make sub(){42} return a mutable value 0ad6fa3 Stop op freeing from interfering with sub(){42} mutability --- pod/perldelta.pod | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 9beb796..6b1fe60 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -476,6 +476,12 @@ each call, unless it was the only thing in a C loop header. This meant that changes to values within the list returned would be visible the next time the operator was executed [perl #3105]. +=item * + +Constant folding and subroutine inlining no longer cause operations that +would normally return new modifiable scalars to return read-only values +instead. + =back =head1 Known Problems -- 1.8.3.1