in reply to Re: Re: Re: Re: Re: Warning Messages
in thread Warning Messages
I'd like to echo davorg's update, though, and suggest you use CGI.pm instead:if (defined $ENV{'QUERY_STRING'}) { # assign to variable # check for login parameter }
With a mighty WHOMP!, these visible warnings (and several invisible problems probably lurking in your CGI parser) will automagically disappear.use CGI; my $q = CGI->new(); my $age = $q->param('age'); my $login = $q->param('login'); if ($age) { # do whatever } if ($login) { # do whatever }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Re: Warning Messages
by Anonymous Monk on Nov 20, 2001 at 00:23 UTC |