httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Perl test framework, TestConfig, and debugging A::T
Date Wed, 14 Jan 2004 23:43:59 GMT
William McKee wrote:
> On Wed, Jan 14, 2004 at 11:03:12AM -0800, Stas Bekman wrote:
>>William, you need to move the config files from conf to t/conf and make 
>>them and usually people put ssl into a 
>>separate directory, so you will probably want to do:
>>conf/ needs to be t/conf/ and it'll be 
>>automatically loaded.
> OK, I'm working on this conversion and am hitting a roadblock due to mp1
> not supporting the PerlSwitches directive. 

No need to:

# make sure that we test under Taint + warnings mode
<IfDefine MODPERL2>
     PerlSwitches -wT
<IfDefine !MODPERL2>
     PerlTaintCheck On
     PerlWarn      On

> Therefore I am relying on the
> library path to my module to be set via When this
> file gets built, it does gather my lib and blib directories. However,
> this file does not get loaded until after my Thus using
> the PerlModule directive fails with an error that the lib does not exist
> in @INC. Neither PerlSetEnv PERL5LIB or SetEnv PERL5LIB works.
> Is there a reason that the is required *after* the
> extra.conf when the httpd.conf file is built? For now, my workaround is
> to use to set @INC and load the module.

Yes. There is for those things that you need to be 
configured after is loaded.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message