Does that help?use CGI; my $query = new CGI; my $name = $query->param("name"); if (!$name) { # test for a form field filled in &show_form; # if no, show form. } elsif { &process_data; # otherwise, process form data &show_result; } exit(0);
In reply to Re: Single CGI script for submission,processing and displaying of results
by tame1
in thread Single CGI script for submission,processing and displaying of results
by Eureka_sg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |