Nikolaus Rath ([EMAIL PROTECTED]) said something to this effect on 03/09/2001:
> <Location Bla>
> <Perl>
> my $o = { "bar" => 1,
> "foo" => "com",
> "other" => 0 };
> push @PerlSetVar, "Objekt, $o;
> </Perl>
> PerlHandler Bla
> </Location>
>
> And inside the Bla Handler:
>
> my $o = $r->dir_config("Objekt");
>
> Is $o now still a complex object, so i could do $o->{"bar"}, or is it
> just a "normal" scalar value (like HAS283752)?
I just found Apache::Storage <URL:http://tangent.org/Apache-Storage/>,
which will let you store complex data structures from httpd.conf:
# httpd.conf
ApacheStore o { "bar" => 1, "foo" => "com", "other" => 0 }
In your handler, do:
use Apache::Storage;
sub handler {
my $r = shift;
my $o = get_storage('o');
...
And so on.
(darren)
--
I decided to stop worrying about my teenage daughter's driving and take
advantage of it. I got one of those bumper stickers that say "How's my
driving?" and put a 900 number on it. At 50 cents a call, I've been
making $38 a week.