because of the aliasing, it's also an lvalue
More precisely, because a modifiable alias is required.
because it's too complicated to implement.
I don't think so. We already do that for hash elements, and the same approach could be used to handle more complicated cases. It's a question of performance.
In reply to Re^2: autovivified hash key with foreach $x ( @{$h{a}} ) {}. (Update x2)
by ikegami
in thread autovivified hash key with foreach $x ( @{$h{a}} ) {}
by Danny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |