>> From: Adam Witney <[EMAIL PROTECTED]>
>> Date: Thu, 10 Oct 2002 11:09:38 +0100
>> To: MacOS X perl <[EMAIL PROTECTED]>
>> Subject: Adding path to @INC for use with web server
>>
>> Hi,
>>
>> Searching the archives I have been able to find out how to get Perl to
>> search other paths for modules when invoked from the terminal or from 
>> GUI
>> apps such as BBEdit, however I cannot get them recognised by cgi 
>> scripts. I
>> read somewhere to add this line to httpd.conf
>>

You can include this code in httpd.conf:

<Perl>
use lib '....';
</Perl>

I assume that this directive requires mod_perl
Alternatively you can do
PerlRequire /../../perl_config_file.pl
and then in that perl config file, include your 'use lib' code.

Reply via email to