httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Apache-Test and Cwd
Date Fri, 30 Jan 2004 00:21:04 GMT
I forgot that we already have the vars() shortcut, I have added a query mode 
to it, so now you can do:

   my $serverroot = Apache::Test::vars->{serverroot};
   my $serverroot = Apache::Test::vars('serverroot');
   my($top_dir, $t_dir) = Apache::Test::vars(qw(top_dir t_dir));

that's almost as good as Apache::Test::serverroot and requires no work on our 

and of course totally contradicts my last email, where I said that we should 
expose only certain vars. go figure.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message