How would autovivification know that the undef in lvalue context it's autovivifying wasn't the original undef?
$ perl -MYAML::Syck -le '$h{bar}=1;$h{bar}=undef;push @{$h{bar}}, qw/a + b c/;print Dump( \%h )' --- bar: - a - b - c
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re^5: multiple values for one key in hash
by Fletch
in thread multiple values for one key in hash
by sovixi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |