http://qs1969.pair.com?node_id=60256


in reply to Single CGI script for submission,processing and displaying of results

Hopefully this is what you mean.

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);
Does that help?

What does this little button do . .<Click>; "USER HAS SIGNED OFF FOR THE DAY"