httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: A::T blib vs lib
Date Tue, 21 Oct 2003 12:19:18 GMT


Stas Bekman wrote:
> Boris Zentner wrote:
> 
>> Hi,
>>
>> A test against my project show's no real difference at all. I applied 
>> the patch against Apache-Test-1.04 and I verified that my 
>> t/conf/modperl_inc.pl contain the desired lines.
>>
>> use lib '/tmp/ap_ex/blib/arch';
>> use lib '/tmp/ap_ex/blib/lib';
>> 1;
> 
> 
> Perfect. You are now talking about a different issue. If you look at
> t/conf/httpd.conf, t/conf/extra.conf is loaded before 
> t/conf/modperl_startup.pl (which loads t/conf/modperl_inc.pl and 
> t/conf/modperl_inc.pl) that's why you have this problem. What you want 
> to do is to move all the code from the <Perl> sections in 
> t/conf/extra.conf.in into t/conf/modperl_extra.pl, which is loaded after 
> t/conf/modperl_inc.pl and you will be alright.

or use t/conf/extra.last.conf.in instead of t/conf/extra.conf.in, which is 
probably an easier solution, as it allows you to maintain a httpd.conf style 
config.

--Geoff


Mime
View raw message