If you need to keep the HTML coders happy by providing an
external file that is as HTML-only as possible, perhaps you
should consider just having that file in pure HTML, reading
it in, and printing it. Like:
my @html;
open(HTML,"<$TheHtmlFile");
@html = <HTML>;
close HTML;
print @html;
This presumes that you have already emitted the required
HTTP header, of course, and will also work perfectly well
when you move over to CGI.
Update: And note
syn's reply
below, particularly if the HTML file is large.
-
HZ