Do you know where your variables are? | |
PerlMonks |
Re: Ignore Case when comparing Hash Keysby moritz (Cardinal) |
on Nov 15, 2010 at 18:40 UTC ( [id://871536]=note: print w/replies, xml ) | Need Help?? |
First transform one of the hashes to use all lowercase keys. Then check existence of lc $other_key.
Here's a Perl 6 solution:
Transforming the code to Perl 5 shouldn't be too hard.
In Section
Seekers of Perl Wisdom
|
|