Re: dir_config and Apache::Table confusion

2000-09-26 Thread Doug MacEachern
On 26 Sep 2000, Bjørn Ola Smievoll wrote: > Works for me too when PerlSetVar is inside a , but not > when it's defined outside, in the 'root' of httpd.conf. Is this how > it should be? From the documentation in 'Writing Apache Modules ..' > it doesn't seem like it is, at least not to me. ah, s

Re: dir_config and Apache::Table confusion

2000-09-26 Thread Bjørn Ola Smievoll
* Doug MacEachern | | works fine for me with this config: [ ... ] | with mod_perl-1.24_01-dev, apache_1.3.13-dev, perl-current (5.7.0@7093) Works for me too when PerlSetVar is inside a , but not when it's defined outside, in the 'root' of httpd.conf. Is this how it should be? From the docum

Re: dir_config and Apache::Table confusion

2000-09-25 Thread Doug MacEachern
On 21 Sep 2000, Bjørn Ola Smievoll wrote: > If I do this: > > $r->print($r->dir_config('key')); > > Then key is printed. > If I then do this: > > my $tab = $r->dir_config; > $r->print(Dumper($tab)); # Using Data::Dumper > > I get '$VAR1 = bless( {}, 'Apache::Table' )'; > It's empty

Re: dir_config and Apache::Table confusion

2000-09-22 Thread Doug MacEachern
On 22 Sep 2000, Bjørn Ola Smievoll wrote: > No comments? Could this be regarded as a bug or am I doing something > stupid? How should I go about following up on this, post to > [EMAIL PROTECTED]? no, your first post about this was just sent yesterday, you need to be patient. this message and

Re: dir_config and Apache::Table confusion

2000-09-22 Thread Bjørn Ola Smievoll
* Bjørn Ola Smievoll | | * Matt Sergeant | | | | Probably because keys doesn't return the keys of an Apache::Table object, | | since it is implemented in C. | | I'm not quite sure it's that simple. If you replace dir_config() | with headers_in() which also return an Apache::Table object you get

Re: dir_config and Apache::Table confusion

2000-09-21 Thread Bjørn Ola Smievoll
* Matt Sergeant | | Probably because keys doesn't return the keys of an Apache::Table object, | since it is implemented in C. I'm not quite sure it's that simple. If you replace dir_config() with headers_in() which also return an Apache::Table object you get a sane result from Dumper(). Also, w

Re: dir_config and Apache::Table confusion

2000-09-21 Thread Matt Sergeant
On 21 Sep 2000, Bjørn Ola Smievoll wrote: > If I do this: > > $r->print($r->dir_config('key')); > > Then key is printed. > If I then do this: > > my $tab = $r->dir_config; > $r->print(Dumper($tab)); # Using Data::Dumper > > I get '$VAR1 = bless( {}, 'Apache::Table' )'; > It's empty

dir_config and Apache::Table confusion

2000-09-21 Thread Bjørn Ola Smievoll
If I do this: $r->print($r->dir_config('key')); Then key is printed. If I then do this: my $tab = $r->dir_config; $r->print(Dumper($tab)); # Using Data::Dumper I get '$VAR1 = bless( {}, 'Apache::Table' )'; It's empty, how come? (bo)