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



Reply via email to