Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: TieRegistry problem

by djantzen (Priest)
on Jun 17, 2003 at 04:20 UTC ( [id://266379]=note: print w/replies, xml ) Need Help??


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. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://266379]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-24 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found