On Tue, 11 Sep 2001, Stas Bekman wrote:
 
> ah, OK, now I recall why did we want to have APACHE_TEST_CONFIGURE at the
> test startup time. We want to access the config object. If I use
> Apache::TestUtil I have no access for example to all the dirs. So if I
> want to write some files which rely on the server layout I need to access
> these vars.

there is already read access to these vars, used quite a bit in the *.t
files.

my $config = Apache::TestRequest::test_config();

my $vars = $config->{vars};
or
my $vars = Apache::TestRequest::vars();

i think i'd rather see:
Apache::Test::config();
and
Apache::Test::vars();

but the main thing is to avoid calling Apache::TestConfig->thaw more than
once per-process.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to