in reply to output a file from perl online
I recommend you to have a look at the CGI module to do simple html programming, instead of hand coding HTML headers and tags. The answer to your question can be located under the heading CREATING A STANDARD HTTP HEADER. It has several examples underneath to do what you after.
|
---|
In Section
Seekers of Perl Wisdom