#!c:\perl\bin\perl.exe #Creates the file to run sample2get.cgi and sample2post.cgi from print "Content-type:text/html\n\n"; print "
Sample2Html.cgi
"; print "
Sample2
"; print "
This form uses the GET method
"; &print_stuff; print "
"; print "
This form uses the POST method
"; &print_stuff; sub print_stuff { print "Name:
"; print "Rank:
Unenlisted"; print "
Private
Colonel"; print "
"; print "
"; return 1; }