in reply to Serving up static content with perl?
If you grabbed a web page and embedded it in a heredoc, you probably forgot to include a valid HTTP response header. Add Content-type: text/html at the top of the heredoc, followed by at least one blank line.
That said, you're better off using one of the templating mechanisms, such as HTML::Template.
|
|---|