in reply to Problems with scripts
If you find the "unitilized value" error annoying in the first script, you can use this:print $query->header;
For safety's sake, you should always use the -T switch on your command line when writing CGI scripts. See perlsec for details. Also, you can check out my Web programming course for a bit more information about writing CGI scripts. It's not complete, but it is aimed at people new to CGI scripting and Perl.my $location = $query->param("place") or "";
Good luck!
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|