in reply to Get the Key corresponding to any given value
my ($key) = grep {$value ~~ $hash{$_}} keys %hash; print "Key = $key\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Answer: Get the Key corresponding to any given value
by LanX (Saint) on Jan 20, 2014 at 12:50 UTC | |
by jdporter (Paladin) on Jan 21, 2014 at 00:14 UTC | |
by LanX (Saint) on Jan 21, 2014 at 00:41 UTC |