Perl & CGI
When you upload a perl script, you will need to tell it the location of the perl interpreter. This is done on the first line of the script in the form:
#!/usr/bin/perl
You may also need to know the location of your homedir (where all your files are stored and the location of sendmail.
Path to perl: /usr/bin/perl
Path to sendmail: /usr/sbin/sendmail
Path to homedir: /home/username
Path to web-accessible files: /home/username/public_html
Path to cgi-bin: /home/username/public_html/cgi-bin
Remember, all perl scripts need to be uploaded in ASCII mode and chmodded to 755 (rwxr-xr-x).


