my $query = new CGI; $query->param('Action') = "nothing yet"; #PRINT HEADER print $query->header; print $query->start_html( -title=>'Add to the Cancer Genomics Online Library'); # -script=>$JSCRIPT); #PRINT TITLE &print_title; #PRINT FORM print "

Cancer Genomics Online Library Addition Form

\n"; if ($query->param('Action') eq 'Submit') { # we have some data print "

Entry Results

\n"; # check data if (&check_entry($query) == 0) { &print_success($query); &make_entry($query); } else { print "

Errors Found

\n"; print "

Please correct the errors above on the form below.\n"; &print_form($query); } } else { &print_intro; &print_form($query); } &print_tail; print $query->end_html; #End of Program