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 Thu, 15 Jan 2004 00:25:25 GMT
William McKee wrote:
> On Wed, Jan 14, 2004 at 03:43:59PM -0800, Stas Bekman wrote:
>>>OK, I'm working on this conversion and am hitting a roadblock due to mp1
>>>not supporting the PerlSwitches directive. 
>>No need to:
> That's a nice solution for enabling taintmode and warnings, but I was
> referring to adding the path using -I as shown in the docs example[1].

Yup, I was just showing how to use the same config file for different apache 

>>>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.
> I figured as much. So it seems that the only solution for loading
> modules under mp1 is via


> Further testing revealed that
> it is not necessary to actually modify @INC since that's being handled
> in In fact, it turns out that it's not even
> necessary to loaded Apache::TestTest at all in the config files. Perhaps
> the best directive for the docs would be:
> <IfDefine MODPERL2>
>     PerlSwitches -wT
>     # preload the module
>     PerlSwitches -I@ServerRoot@/../lib
> </IfDefine>

> [1]

It's not the best if you need to handle both generations, in which case you 
better move all those @INC mangling into

And again I don't understand why do you need to add 'lib' when it's already 
added with APACHE_TEST_LIVE_DEV=1, look at your it should 
be there.

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

View raw message