On Tue, 12 Dec 2000, Stas Bekman wrote:

> On Tue, 12 Dec 2000, Salvador Ortiz Garcia wrote:
> 
> > Anyway %ApacheReadConfig:: isn't documented in the main docs, and that is
> > the main reason that many people are using long <Perl>...</Perl> sections
> > that can be sustituted by a simple and cleaner "PerlRequire foobar".  
> 
> Just to correct a few points :)

Stas, I'm really appreciate your work in the documentation area, but... 
 
> 1. It's Apache::ReadConfig, not ApacheReadConfig

Sorry, no.

>From Changes:

  =item 1.07_03 - January 8, 1998
  ...
  go back to internal <Perl> sections package name ApacheReadConfig
  ...

and from perl_config.c:

  ...
  #define PERL_SECTIONS_PACKAGE "ApacheReadConfig"
  ...

  and

  ...
  nk = perl_eval_pv("scalar(keys %ApacheReadConfig::);",TRUE);
  ...
 
> 2. It's fully documented in the guide:
> http://perl.apache.org/guide/config.html#Apache_Configuration_in_Perl

Yes, but with the wrong namespace, not a problem when the user uses only
<Perl>...</Perl> Sections, but useless for PerlRequire (recently fixed) 
and PerlModule.

> 3. It's mentioned in the Apache::PerlSections module. 

Broken, BTW. (fix at the end) 


My point is that the bootstrap feature, IMHO one of the most powerfull of
mod_perl (because many Apache modules can be made self-configurables{sp?})
was, in the begining so buggy and that most users and developers
stay away from it and uses only the <Perl>..</Perl> part. 

And my bad English can't help.

Salvador Ortiz



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to