On Tue, May 29, 2007 at 01:45:03AM -0700, Rafael Garcia-Suarez wrote:
> Change 31302 by [EMAIL PROTECTED] on 2007/05/29 08:43:29
>
> Mention that last bugfix in perldelta
>
> Affected files ...
>
> ... //depot/perl/pod/perl595delta.pod#30 edit
>
> Differences ...
>
> ==== //depot/perl/pod/perl595delta.pod#30 (text) ====
> Index: perl/pod/perl595delta.pod
> --- perl/pod/perl595delta.pod#29~31291~ 2007-05-28 05:52:08.000000000
> -0700
> +++ perl/pod/perl595delta.pod 2007-05-29 01:43:29.000000000 -0700
> @@ -447,6 +447,9 @@
> Duping a filehandle which has the C<:utf8> PerlIO layer set will now
> properly carry that layer on the duped filehandle. (Rafael)
>
> +Localizing an hash element whose key was given as a variable didn't work
> +correctly (as in C<local $h{$x}>). (Bo Lindbergh)
Since the significance of the bug is that its using a variable that
*changes*, perhaps the example could be:
correctly (so C<local $h{$x}; $x++> restored the wrong element).
(Bo Lindbergh)
--
Please note that ash-trays are provided for the use of smokers,
whereas the floor is provided for the use of all patrons.
-- Bill Royston