on Tue, 09 Apr 2002 08:26:01 GMT, Connie Chan wrote:
> I have this statement
> if ( $ENV{REQUEST_METHOD} eq "GET")
> {
> ...
> ...
> }
>
> That works fine if I don't use -w , but if I use -w,
> it tells "Use of uninitialized value in string eq at."
It doesn't work fine without '-
> I have this statement
> if ( $ENV{REQUEST_METHOD} eq "GET")
> {
> ...
> ...
> }
>
> That works fine if I don't use -w , but if I use -w,
> it tells "Use of uninitialized value in string eq at."
> why?
Enviroment variables come via the shell (or CGI server), and
you can't trust t