in reply to hash defined?
However I don't get such a warning with your code whether the key is defined or not. Is that right?