in reply to Re^2: unexpected modify hash in a distance with grep { $_ }
in thread unexpected modify hash in a distance with grep { $_ }

> My educated guess is that it's because autovivification generally happens in an lvalue context.

Good guess, but I can't see lvalue in these inconsistent results when aliasing:

Re^2: unexpected modify hash in a distance with grep { $_ } (inconsistent behaviour of aliasing)

edit

My educated guess is rather that dave_the_m will digg into the sources now and point us to a (known?) glitch! ;-)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

  • Comment on Re^3: unexpected modify hash in a distance with grep { $_ }