BatGnat has asked for the wisdom of the Perl Monks concerning the following question:
it saysUse of uninitialized value in numeric lt (<) at D:\BIN\SCRIPTS\PerlScripts\45daysold\45daysold.pl line 44 I already have a "my %USERLIST;" in the code, so how do I declare the anonymous hashes?Win32API::Net::UserGetInfo('\\\\'.$SERVER, $USER, 3, \%USER_INFO); if ( %USERLIST->{$USER}->{'TIME'} < %USER_INFO->{'LastLogon'}) { %USERLIST->{$USER}->{'TIME'} = %USER_INFO->{'lastLogon'}; %USERLIST->{$USER}->{'DISABLED'} = "DISABLED" if (%USER_INFO->{' +flags'} & UF_ACCOUNTDISABLE) } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid) Re: Warnings, and declaring Hashes of Hashes.
by Ovid (Cardinal) on Nov 30, 2000 at 02:43 UTC | |
by japhy (Canon) on Nov 30, 2000 at 04:11 UTC | |
by snax (Hermit) on Nov 30, 2000 at 15:09 UTC | |
by tilly (Archbishop) on Nov 30, 2000 at 17:17 UTC | |
by snax (Hermit) on Nov 30, 2000 at 19:06 UTC | |
by BatGnat (Scribe) on Nov 30, 2000 at 02:52 UTC | |
|
Re: Warnings, and declaring Hashes of Hashes.
by chipmunk (Parson) on Nov 30, 2000 at 02:50 UTC | |
by BatGnat (Scribe) on Nov 30, 2000 at 03:15 UTC | |
|
Re: Warnings, and declaring Hashes of Hashes.
by runrig (Abbot) on Nov 30, 2000 at 02:53 UTC |