in reply to TieRegistry problem

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

Replies are listed 'Best First'.
Re: Re: TieRegistry problem
by Anonymous Monk on Jun 17, 2003 at 04:32 UTC
    5 hours. That's how long I've been sitting in this sweaty chair in front of my computer as I poured through the TieRegistry docs. I would give you 50 XP if I could. :)