in reply to Re^8: Why does exists cause autovivication?
in thread Why does exists cause autovivication?

No need to autovivify anything, only to test an empty hashref for a non-existent key.
next unless exists $user_by_uid{$uid}; next unless exists $user_by_uid{$uid}->{$host};

should do.

--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}