Writing a "Hello world" HTML page from perl script ?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Sorry for this question but how do I write a simple "Hello world" HTML page from a
perl script?

In other words if I click in an already existing html page on a link like:

<a href="/export/home/aaa/cgi-bin/writehello.pl" target="_top">Click on this link</A>

a html page with the following stuff should be written and displayed in the browser:

Hello World

How should the perl script look like ?

Do I have to change the perl script if I use the domain name instead of the internal path name?

<a href="http://www.mydomain.com/cgi-bin/writehello.pl " target="_top">Click on this link</A>


Site Timeline