shekarkcb has asked for the wisdom of the Perl Monks concerning the following question:
I am using Hash to store some values, say i have a hash like this
%hash = ("abc" => "1", "def" => "2", "ghi" => "3", );
if($match =$hash{$input}) { print "MATCHED VALUE IS \"$match\"...\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Matching case insensitively in Hashes
by ELISHEVA (Prior) on Feb 11, 2009 at 06:47 UTC | |
by almut (Canon) on Feb 11, 2009 at 09:48 UTC | |
|
Re: Matching case insensitively in Hashes
by CountZero (Bishop) on Feb 11, 2009 at 06:54 UTC | |
by shekarkcb (Beadle) on Feb 11, 2009 at 09:08 UTC |