Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: map {} list or do {} for list?

by choroba (Archbishop)
on Apr 11, 2014 at 14:35 UTC ( #1081979=note: print w/replies, xml ) Need Help??


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.
      لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1081979]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2020-11-24 12:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?