This will convert all keys to lower case. Then to check, you make sure the key is lc()ed:$assoc{lc $_} = delete $assoc{$_} for keys %assoc;
HTH.print $assoc{lc 'theKEY'} . "\n";
In reply to Re: case-insensitive hash keys
by qumsieh
in thread case-insensitive hash keys
by ManFromNeptune
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |