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.
In reply to Re: Serving up static content with perl?
by dws
in thread Serving up static content with perl?
by sh856531
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |