in reply to Re^4: multiple values for one key in hash
in thread multiple values for one key in hash
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: multiple values for one key in hash
by moritz (Cardinal) on May 13, 2008 at 14:51 UTC | |
|
Re^6: multiple values for one key in hash
by dragonchild (Archbishop) on May 13, 2008 at 14:12 UTC |