Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://959337]
help
Chatterbox?
[Discipulus]: anyway i never bought a PC in my life: few videocards and some disks: i recycle old things

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2017-07-27 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (407 votes). Check out past polls.