Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Ignore Case when comparing Hash Keys

by aquarium (Curate)
on Nov 15, 2010 at 21:53 UTC ( [id://871587]=note: print w/replies, xml ) Need Help??


in reply to Ignore Case when comparing Hash Keys

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://871587]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-19 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found