Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by tobyink (Canon)
on Apr 11, 2014 at 21:11 UTC ( [id://1082021]=note: print w/replies, xml ) Need Help??


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

If I wanted it to be fast and concise, I'd probably go with:

$hosts{$_}==$table_count or delete($hosts{$_}) for keys %hosts;
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-25 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found