in reply to Warnings, and declaring Hashes of Hashes.
I notice that you are using an odd syntax for looking up hash keys. While %hash->{key} seems to work, the proper syntax is $hash{key}. The $ indicates that this is a scalar value, while the {key} indicates that it is an element of a hash.
Finally, regarding the question about warnings. my %USERLIST is unrelated to the issue of uninitialized value warnings, which apply only to scalar values. You may want something like this:
if (defined $USERLIST{$USER}{'TIME'} and defined $USER_INFO{'LastLogon'} and $USERLIST{$USER}{'TIME'} < $USER_INFO{'LastLogon'})
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Warnings, and declaring Hashes of Hashes.
by BatGnat (Scribe) on Nov 30, 2000 at 03:15 UTC |