On Wed, 11 Oct 2000, Bill Moseley wrote:

> Can I get the value of a PerlSetVar at startup?
> 
> # Main server config
> PerlSetVar foo bar
> 
> <VirtualHost 80>
> 
> <perl>
>     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

-- 
<Matt/>

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

Reply via email to