Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Single CGI script for submission,processing and displaying of results

by tame1 (Pilgrim)
on Feb 22, 2001 at 21:23 UTC ( [id://60256]=note: print w/replies, xml ) Need Help??


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"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-16 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found