http://www.perlmonks.org?node_id=11110480


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

> I find that this behaviour makes the rules for autovivification logically simple(r) and consistent.

Maybe... But if it was that easy why can't we find it documented in the perldocs.

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

  • Comment on Re^6: unexpected modify hash in a distance with grep { $_ } (inconsistent behaviour of aliasing)
  • Download Code