Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: case-insensitive hash keys

by cyocum (Curate)
on Aug 21, 2004 at 00:27 UTC ( #384740=note: print w/replies, xml ) Need Help??


in reply to Re^2: case-insensitive hash keys
in thread case-insensitive hash keys

I have not thought this through completely, but you could use a tied hash which on STORE used a lowercase function. This would alleviate the need to have a lc() all over the code but it would slow your code down a bit. Again, this is off the top of my head so it might not work.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://384740]
help
Chatterbox?
[stevieb]: one of my long-running Perl procs crashes with a segfault (because it wraps C code) is crashing after an hour or so... seeing if wrapping the cli call with valgrind will produce something useful

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-04-29 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.