Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Help with uninitialized value warning

by dws (Chancellor)
on Sep 25, 2002 at 05:25 UTC ( [id://200568]=note: print w/replies, xml ) Need Help??


in reply to Help with uninitialized value warning

You're getting the warning because when you invoke the CGI from the command line, you're not defining the form variable Submit. A quick workaround is to change   if ($cgi->param('Submit') eq "Go") ... to
my $submit = $cgi->param('Submit') || ""; if ($submit eq "Go") ...
This ensures that you'll be testing against a defined value.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://200568]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-05-26 19:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found