How do I test if Perl is working on my server?
Create a file called test.pl
Add the following text:
#!/usr/local/bin/perl 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.