Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by LanX (Cardinal)
on Dec 21, 2019 at 18:50 UTC ( #11110480=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11110480]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2021-01-21 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?