Also, you can do some testing by creating a file named "test.pl" containing this code:
#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print "<html><body><h1>Perl is working!</h1></body></html>";
When you get this to run, you know Perl and CGI scripting is working right.