in reply to Uninitialised value in string error(was: Debug pukes here.)
<FORM METHOD=POST ACTION="/Path/To/CGI/app.pl ( or .cgi )> Name: <INPUT TYPE=TEXT NAME="name"> <BR> <INPUT TYPE=SUBMIT VALUE="Click here to send the data!"> </FORM>
#!/usr/bin/perl -wT use strict; use CGI qw( :standard ); use CGI::Carp qw( fatalsToBrowser ); print "Content-type: text/html\n\n"; my $name = param( "name" ); #This might be the problem. if( $name eq "" ) { &printform(); } else { &results(); } ...the remainder of your code...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Debug pukes here.
by alietzow (Initiate) on May 17, 2002 at 14:28 UTC |