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



Reply via email to