#!/usr/bin/perl open(HTMLFILE, ">your/html/file.here"); select(HTMLFILE); #....do some things with CGI input here print "This goes in your HTML file\n"; #....do some other things if necessary print "So does this\n"; close HTMLFILE; #### #!/usr/bin/perl open(HTMLFILE, ">your/html/file.here"); #....do some things with CGI input here print HTMLFILE "This goes in your HTML file\n"; #....do some other things if necessary print HTMLFILE "So does this\n"; close HTMLFILE;