This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for #79908/137da2b
authorFather Chrysostomos <sprout@cpan.org>
Mon, 12 Aug 2013 21:29:16 +0000 (14:29 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 13 Aug 2013 01:04:06 +0000 (18:04 -0700)
pod/perldelta.pod

index 6b1fe60..d8b04e5 100644 (file)
@@ -482,6 +482,12 @@ Constant folding and subroutine inlining no longer cause operations that
 would normally return new modifiable scalars to return read-only values
 instead.
 
+=item *
+
+Closures of the form C<sub () { $some_variable }> are no longer inlined,
+causing changes to the variable to be ignored by callers of the subroutine
+[perl #79908].
+
 =back
 
 =head1 Known Problems