in reply to Re: Default Hash Key
in thread Default Hash Key
Using the "//" operator, this folds into:
my $foo = $description{$input} // "default value";
|
---|
In Section
Seekers of Perl Wisdom
in reply to Re: Default Hash Key
in thread Default Hash Key
Using the "//" operator, this folds into:
my $foo = $description{$input} // "default value";
|
---|