Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 studying the Monastery: (9)
As of 2015-07-29 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls