in reply to map {} list or do {} for list?
Just to add to TIMTOWTDI:
$hosts{$_} == $table_count or delete $hosts{$_} for keys %hosts;
Update: Fixed, used and instead of or.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom