PERL  

Support Topics: PERL: User's Guide: Paths used by PERL

In the configuration instructions for your Perl scripts they may ask for the paths to various applications, files etc. For your reference here are the most common ones:



Path to Perl Interpretor

/usr/bin/perl

So your first statement at the top of your Perl script would need to be:

#!/usr/bin/perl



Path to SENDMAIL

/usr/sbin/sendmail



Path to DATE

/bin/date



Path to your website:

Look at the output of the "printenv.pl" (mentioned above). Look at the value for DOCUMENT_ROOT



Path to your cgi-bin:

Look at the output of the "printenv.pl" (mentioned above). Look at the value for DOCUMENT_ROOT and tack on "/cgi-bin" to the end. (this works as well for other directories in your web site)

Support Topics

Blogs
Calendars
E-Commerce
Email
Form to Email
Guestbooks
Hit Counters
MacHighway Banners
Mailing Lists
Message boards and Forums
PERL
PHP & MySQL
Security
Site Wide Search Engines
Spam
SSL
Traffic Reports
Uploading / Publishing
Video
WebDAV