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


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.

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: map {} list or do {} for list?
by hdb (Monsignor) on Apr 12, 2014 at 08:40 UTC

    This deletes the entries the OP wanted to keep...

      Thanks, fixed.
      لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ