Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Default Hash Key

by Anonymous Monk
on Mar 13, 2012 at 13:44 UTC ( #959337=note: print w/ replies, xml ) Need Help??


in reply to Re: Default Hash Key
in thread Default Hash Key

Using the "//" operator, this folds into:

my $foo = $description{$input} // "default value";


Comment on Re^2: Default Hash Key
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-08-30 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls