No such thing as a small change | |
PerlMonks |
Re^2: Ignore Case when comparing Hash Keysby avidcoder (Novice) |
on Nov 15, 2010 at 18:56 UTC ( [id://871542]=note: print w/replies, xml ) | Need Help?? |
I cant convert the Hash Keys to lower case, because I want to display the Keys and Values Side by side in the output and I want to keep the original Case of the Keys. I was wondering if there is something like if ($a =~ /$search/i) kind of comparison that ignores the case and matches the keys. Also I want the hash to give me the value of the key
In Section
Seekers of Perl Wisdom
|
|