in reply to Re: on 5.5.3, waiting for 5.6.1 (was Re: Re: Adding or removing keys while iterating over a hash)
in thread Adding or removing keys while iterating over a hash

Try this:
perl -e 'my $x = 10; $x = "2" . $x; print $x + 0'
With 5.6.0 this prints 10.

There are many other things wrong with 5.6.0, but this one is generally good enough to make the point.

  • Comment on Re (tilly) 2: on 5.5.3, waiting for 5.6.1 (was Re: Re: Adding or removing keys while iterating over a hash)
  • Download Code

Replies are listed 'Best First'.
Re: Re (tilly) 2: on 5.5.3, waiting for 5.6.1 (was Re: Re: Adding or removing keys while iterating over a hash)
by snax (Hermit) on Nov 30, 2000 at 17:09 UTC
    Wow -- that's freaky. Dropping the my declaration makes the problem "go away", too.