in reply to Re: Ignore Case when comparing Hash Keys
in thread Ignore Case when comparing Hash Keys
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Ignore Case when comparing Hash Keys
by roboticus (Chancellor) on Nov 15, 2010 at 19:06 UTC | |
by avidcoder (Novice) on Nov 15, 2010 at 19:25 UTC | |
by roboticus (Chancellor) on Nov 15, 2010 at 20:09 UTC | |
Re^3: Ignore Case when comparing Hash Keys
by moritz (Cardinal) on Nov 15, 2010 at 20:03 UTC |
In Section
Seekers of Perl Wisdom