ZimCS has asked for the wisdom of the Perl Monks concerning the following question:
Hi everyone,
I just wrote a CGI script that does some processing and creates log files after the processing has been completed. I would like to have the script return a template HTML file that looks exactly like the rest of my site, but just adds the links to the log files at the end. I tried print $query->header("text/html"),$query->start_html("Submitting..."); and then pasting in the HTML code and then print $query->end_html; This obviously doesn't work, but does anyone have an idea on how to correctly insert all of my HTML code ? Thanks in advance.
Comment on Loading HTML template using Perl and CGI
$query->start_html prints some HTML already. So if your existing HTML code contains <html><head>... already, this is no option. Likewise for $query->end_html.