Mar 15, 2001, 2:24 AM
Post #2 of 2
Some of your variables have not been initializaed.
For example, 'HTTP_COOKIE' does not exist in the
environment, or LGuser does not exist or is not
defined in the %COOKIE.
Usually it is not a major problem, because Perl
substitutes uninitialized value with 0 in numeric or "" in
string context, though sometimes this may point you to
the variable that was supposed to be initialized and wasn't.
In general, you may use defined($var) instead $var eq "" to avoid this situation.
defined() returns true in case some value has been assigned to the variable, even "" and false otherwise.
QA Engineer @ Extent Technologies, Ltd.