use CGI;
print "<H1> Example CGI.pm Form</H1>\n";
sub print_prompt {
print $query->start_form;
print "<EM>What's your name?</EM><BR>";
print "<P><EM>Where can you find English Sparrows?</EM><BR>";
print $query->checkbox_group(
print "<P><EM>How far can they fly?</EM><BR>",
print "<P><EM>What's your favorite color?</EM> ";
print "<P><EM>What have you got there?</EM><BR>";
print $query->scrolling_list(
'A Sword','A Ticket'],
-size=>5,
print "<P><EM>Any parting comments?</EM><BR>";
-rows=>10,
-columns=>50);
print "<HR>\n";
}
sub do_work {
print "<H2>Here are the current settings in this form</H2>";
}
}
sub print_tail {
print <<END;
<HR>
<ADDRESS>Lincoln D. Stein</ADDRESS><BR>
<A HREF="/">Home Page</A>
END
;
}