Perl...I believe that I can give you a little more to go on.
You need to have the perl executable inorder to run a perl script. The #/usr/bin/perl thingy is the path of the perl executable. The is a 'perl distribution' that you can download, or you can get a binary version and install it, either way you need to have that hunk of code there to do the executing.
Next, look in your server directives and locate the script alias. In apache it is httpd.conf file. In apache a script alias will make the translation where /cgi-bin/ = /usr/local/www/ (or something like that). When the cgi script is executed, the proper path will be inserted, oblivioius to the user.
And once again, the shebang in the top of your perl script will be the path to the perl program that runs the script.
Good luck.
Jimbo
|