Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by hdb (Prior)
on Apr 11, 2014 at 14:50 UTC ( #1081983=note: print w/ replies, xml ) Need Help??


in reply to map {} list or do {} for list?

Or with a slice:

delete @hosts{ grep { $hosts{$_} != $table_count } keys %hosts };


Comment on Re: map {} list or do {} for list?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-12-19 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (70 votes), past polls