[EMAIL PROTECTED] (darren chamberlain) wrote:
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;
Ken Williams ([EMAIL PROTECTED]) said something to this effect on 03/12/2001:
[EMAIL PROTECTED] (darren chamberlain) wrote:
I just found Apache::Storage URL:http://tangent.org/Apache-Storage/,
which will let you store complex data structures from httpd.conf:
I wonder why I've never heard of
-Original Message-
From: darren chamberlain [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 12:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Passing Objects with PerlSetVar
Ken Williams ([EMAIL PROTECTED]) said something to
this effect on 03/12/2001:
[EMAIL PROTECTED
Hello!
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
-Original Message-
From: Nikolaus Rath [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 10:00 AM
To: [EMAIL PROTECTED]
Subject: Passing Objects with PerlSetVar
Hello!
Location Bla
Perl
my $o = { "bar" = 1,
&q
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
-Original Message-
From: Nikolaus Rath [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 09, 2001 12:29 PM
To: Geoffrey Young
Subject: Re: Passing Objects with PerlSetVar
I don't thing that will work. dir_config() is an
Apache::Table object,
which stringifies everything