httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
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 
part.

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
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message