1) make sure the script file is marked as executable
2) if it is, try changing the name to end in .cgi rather than .pl
If those don't work, contact the administrator of the Unix server to find out how to run CGI scripts on that server.
As a side note, I think when you are writing a Perl script you need to output your own HTTP headers, since the server doesn't have any way to know what kind of content you are going to generate, how long it is, and so-forth.