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 | |
by choroba (Cardinal) on Apr 12, 2014 at 08:59 UTC |
In Section
Seekers of Perl Wisdom