bobdeath has asked for the wisdom of the Perl Monks concerning the following question:

I know that if you have a hash, and you associate a previously undefined key in that hash with a value, that key will be automatically created and associated with whatever value you set it too. This feature, while useful at times, seems to be a major cause of bugs for me. I will either assign a key to the wrong hash, or misspell a key. I was wondering if there was a way to prevent a hash from autovivifing, or even print out a warning when it happens. I am just sick of spending 30 minutes to an hour trying to figure out what is wrong when I am not even using the autovivication feature.