in reply to Re: Serving up static content with perl?
in thread Serving up static content with perl?

Be careful. This is not an exec cmd. If you exec cgi or (preferrably) include virtual, you have to emit appropriate HTTP headers.
print <<_HTML_; Content-type: text/html <p>Factoid of the day: <em>$factoid</em></p> _HTML_

Makeshifts last the longest.