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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: TieRegistry problem
by Anonymous Monk on Jun 17, 2003 at 04:32 UTC |