I want to test the existence of a hash key so that the case of the key does not matter. I would prefer to do this in the normal way of
if(exists($data{$str})) {
where any of abcd, aBcd, AbcD and so on would pass for the key of abcd.
What is the simplest way of achieving this?