httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <da...@kineticode.com>
Subject Re: Apache-Test and Cwd
Date Wed, 28 Jan 2004 22:43:56 GMT
On Jan 28, 2004, at 2:21 PM, Stas Bekman wrote:

> Then for now I'll just use:
>
>   my $serverroot = Apache::Test::config()->{vars}>{serverroot};

Surely you mean

   my $serverroot = Apache::Test::config()->{vars}->{serverroot};

although this should work, too:

   my $serverroot = Apache::Test::config->{vars}{serverroot};

> untill everybody agrees on what's not striking. The above approach 
> will always work.

AUTOLOAD is okay with me. It's a nice way of getting everything, even 
if things change in the future.

Regards,

David


Mime
View raw message