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


in reply to Re: map {} list or do {} for list?
in thread map {} list or do {} for list?

Hi Rolf,

just wanted to post this snippet:

for my $host (keys %hosts) { next if $hosts{$host} == $table_count; delete $hosts{$host}; }

but checked the incomming answers before posting redundant things. In this case I had to smile because I do agree with your "taste" (++).

UPDATE: Had an logic error in there: changed < to ==.

McA