Just another Perl shrine | |
PerlMonks |
Re: TieRegistry problemby djantzen (Priest) |
on Jun 17, 2003 at 04:20 UTC ( [id://266379]=note: print w/replies, xml ) | Need Help?? |
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?
"The dead do not recognize context" -- Kai, Lexx
In Section
Seekers of Perl Wisdom
|
|