On Tue, Sep 25, 2001 at 09:05:38AM -0500, Boyd, David wrote:
> Where is the proper place for me to put the .pm files that I have created?
> 
> I was using: PerlSetEnv PERL5LIB "C:/Projects/IRS/Apache/Perl" in my
> httpd.conf file but was informed: 
> 
>       PerlSetEnv PERL5LIB "C:/Projects/IRS/Apache/Perl" 
>       i'm not sure how well this works, since (as i understand it) perl
> only checks this env var once on startup. 
>       "use lib" in a PerlRequire'd startup file might be safer. 

print out @INC somewhere in an embperl page. you can put your .pm's
anywhere along there.

if you want to add new directories to @INC, write a startup.pl
alongside your httpd.conf, with the line:

 use lib 'C:/Projects/IRS', 'X:/Some/Other/Directory', 'Z:/etc';

then add "PerlRequire startup.pl" to your httpd.conf

-- 
 - Gus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to