in reply to database unclarity when finding 'unitinitaliazed' everywhere

Hi,

your problem is either that $lost is undefined, or, as pg has indicated, that $dbm{$lost} exists, but is undefined. You could check for definedness before going through this snippet:

if defined ($lost) { if (exists ($dbm{$lost}) && defined ($dbm{$lost}) ) { .. the rest of your snippet } }
You might also want to check the rest of your code to find out just why either of these two is undefined, and whether that was intentional or not.

CU
Robartes-

Replies are listed 'Best First'.
Re: Re: database unclarity when finding 'unitinitaliazed' everywhere
by sulfericacid (Deacon) on Mar 17, 2003 at 07:42 UTC
    Thanks for your help. I'm not sure what the exact problem is because I changed this and that so many times until it finally worked, lol. It must have been because it was undefined.

    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid