http://www.perlmonks.org?node_id=1067719


in reply to Re: undefined hash elements
in thread undefined hash elements

defined() works. You might like to show us the code and error and we can fix that.

If you want to check if a hash key exists at all, the function exists() is the right one to use