On Apr 28, 2006, at 1:47 AM, Perrin Harkins wrote:
>
> $My::App:EV_MODE = 1;
>


Nice

On Apr 27, 2006, at 11:42 PM, Geoffrey Young wrote:
> http://perl.apache.org/docs/2.0/api/Apache2/
> ServerUtil.html#C_dir_config_


Ok. i'll submit a patch for PerlSetVar later.

While ServerUtil says this:
$s->dir_config() provides an interface for the per-server variables
specified by the PerlSetVar and PerlAddVar directives, and also can
be manipulated via the APR::Table methods.
$table = $s->dir_config();
$value = $s->dir_config($key);
@values = $s->dir_config($key);
$s->dir_config($key, $val);

Server configuration ( http://perl.apache.org/docs/2.0/user/config/
config.html ) says:

my $foo = $r->dir_config('foo');
In this example $foo would then hold the value 'bar'. NOTE: that
these directives are parsed at request time which is a slower method
than using custom Apache configuration directives

=====

i'll make a patch saying that one can access the dirconfig off a
Apache2::ServerUtil as well this afternoon