good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Ignore Case when comparing Hash Keysby aquarium (Curate) |
on Nov 15, 2010 at 21:53 UTC ( [id://871587]=note: print w/replies, xml ) | Need Help?? |
i think you want to avoid anomalies, such as one of the hashes having multiple same values once upper/lower-cased, e.g. McGirk and Mcgirk...which would break under current arrangements. might be an idea to have the hashes keyed by lowercase/uppercase, but also store original print/visual/mixed-case value as part of the hashes.
the hardest line to type correctly is: stty erase ^H
In Section
Seekers of Perl Wisdom
|
|