I have tried almost everything you've said, and no matter what I get "premature end of script headers" or "Could not run due to compilation error." Server logs tell me that print "</html>"; is a syntax error, as is
print qq~ <a href="/index.html">Click here!</a> ~;
HELP!