Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by LanX (Cardinal)
on Dec 20, 2019 at 22:47 UTC ( #11110460=note: print w/replies, xml ) Need Help??


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

Found another related discussion, curiously from the same OP.

No autovivification, for loop aliasing, lvalue vs rvalue in for loops

The related bug report argues, that aliases must trigger autovivification beforehand, in case an lvalue happens after.

https://github.com/Perl/perl5/issues/15583

I find this explanation unsatisfactory because I showed here that the aliasing of sub arguments don't trigger autovivification.

Hmm???

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 { $_ }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2020-12-02 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (44 votes). Check out past polls.

    Notices?