|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^2: Default Hash Keyby Anonymous Monk |
| on Mar 13, 2012 at 13:44 UTC ( #959337=note: print w/ replies, xml ) | Need Help?? |
|
Using the "//" operator, this folds into: my $foo = $description{$input} // "default value";
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||