Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: unexpected modify hash in a distance with grep { $_ }by LanX (Saint) |
on Dec 20, 2019 at 22:47 UTC ( [id://11110460]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|