Personal Blog

How do I test if Perl is working on my server?

Create a file called

Add the following text:

 print "Content-type: text/html\n\n";
 print "test\n";

Upload it to your cgi-bin directory by ftp.

(If you do not have a cgi-bin directory create one on the server.)

Open your web browser and run:

The word test will be displayed.