From: David Mitchell Date: Tue, 4 May 2010 13:43:56 +0000 (+0100) Subject: note in perldelta that local @tied not tied now X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=72ecaef9b6534b55c9387725446d2c87621d5cbf;p=p5sagit%2Fp5-mst-13.2.git note in perldelta that local @tied not tied now --- diff --git a/pod/perl5131delta.pod b/pod/perl5131delta.pod index 74f03e0..1e40703 100644 --- a/pod/perl5131delta.pod +++ b/pod/perl5131delta.pod @@ -29,6 +29,21 @@ non-printable characters, but there were no restrictions (on ASCII platforms) on what the character following the C could be. Now, that character must be one of the ASCII characters. +=head2 localised tied hashes, arrays and scalars are no longed tied + +In the following: + + tie @a, ...; + { + local @a; + # here, @a is a now a new, untied array + } + # here, @a refers again to the old, tied array + +The new local array used to be made tied too, which was fairly pointless, +and has now been fixed. This fix could however potentially cause a change +in behaviour of some code. + =head1 Core Enhancements XXX New core language features go here. Summarise user-visible core language