in reply to Perl On Server

As the above poster mentioned, it is required to output proper HTTP headers. You *can* do so manually using print, but IMHO, that is a very not-good idea. I strongly suggest spending a few hours getting used to the CGI module; once you do, you won't look back, and if you do look back, everything without CGI will seem much more labor intensive than it needs to be (since CGI does a lot of stuff for you).