Re: $r->dir_config at server startup?

2000-10-11 Thread Matt Sergeant

On Wed, 11 Oct 2000, Bill Moseley wrote:

> Can I get the value of a PerlSetVar at startup?
> 
> # Main server config
> PerlSetVar foo bar
> 
> 
> 
> 
> package My::Handler;
> use strict;
> 
> # Is there a way to get at 'foo'?
> my $foo = Apache->dir_config('foo');

Apache->server->dir_config('foo'); # IIRC

-- 


/||** Director and CTO **
   //||**  AxKit.com Ltd   **  ** XML Application Serving **
  // ||** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** Personal Web Site: http://sergeant.org/ **
 \\//
 //\\
//  \\




$r->dir_config at server startup?

2000-10-11 Thread Bill Moseley

Can I get the value of a PerlSetVar at startup?

# Main server config
PerlSetVar foo bar




package My::Handler;
use strict;

# Is there a way to get at 'foo'?
my $foo = Apache->dir_config('foo');

sub handler {
  ...
}


Perl*Handler My::Handler;
...




Bill Moseley
mailto:[EMAIL PROTECTED]