http://qs321.pair.com?node_id=611289


in reply to Re: hash assignment wierdness
in thread hash assignment wierdness

The output of Data::Dumper is misleading here, as it looks like undef was assigned to the value, not the key. But it's the key that gets the scalar:
qwurx [shmem] ~ > perl -le '%h = "one"; print "$_ => $h{$_}" for keys +%h' one =>

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}