#!/usr/local/bin/perl
use warnings;
use strict;
print "Hello, world!\n";
This is the file I have saved as test.pl in cgi-bin.
And this is the code and I'm using to run the script in a separate html document
<html>
<head>
<title>A Very Basic Example of an HTML page created by the CGI</title>
</head>
<body>
<script type="text/javascript" src="http://csvlife.com/cgi-bin/test.pl"></script>
</body>
</html>
I installed Perl. modules. I verified the program path in my Hostgator panel. What might be the problem?