The key exists, but is it defined? Your assignments are effectively testing to see if the key lookup returns a true value, and if not then die is executed. If you don't mind having a key with a false value, then use exists, otherwise make sure there's a true value specified there.
See also What is True and False in Perl?
In reply to Re: TieRegistry problem
by djantzen
in thread TieRegistry problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |