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 Mon, 20 Oct 2003 20:18:26 GMT

> 
> Is everybody happy with the name of the env var APACHE_TEST_LIVE_DEV, 
> when when set to 1, will prepend the project/lib directory to @INC and 
> otherwise won't do anything special about it. e.g. in the new 
> Apache::VMonitor dir:
> 
>   % env t/TEST -conf
> 
> produces t/conf/modperl_inc.pl:
> 
> use lib '/home/stas/work/modules/Apache-VMonitor-2.0/blib/arch';
> use lib '/home/stas/work/modules/Apache-VMonitor-2.0/blib/lib';
> use Apache2;
> 1;
> 
> and:
> 
> % env APACHE_TEST_LIVE_DEV=1 t/TEST -conf
> 
> produces t/conf/modperl_inc.pl:
> 
> use lib '/home/stas/work/modules/Apache-VMonitor-2.0/blib/arch';
> use lib '/home/stas/work/modules/Apache-VMonitor-2.0/blib/lib';
> use Apache2;
> use lib '/home/stas/work/modules/Apache-VMonitor-2.0/lib';
> 1;
> 

sounds good.

--Geoff


Mime
View raw message