Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: &&= vivify keys? (for or)

by tye (Sage)
on Apr 18, 2012 at 13:15 UTC ( [id://965710]=note: print w/replies, xml ) Need Help??


in reply to &&= vivify keys?

$_ = $v for $h{$k} || ();

Just in case $h{$k} actually involves some long variable names or even some complex expressions.

- tye        

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found