On Tue, 8 May 2001, Doug MacEachern wrote:

> On Wed, 2 May 2001, Matt Sergeant wrote:
>  
> > Right, but the problem is you can't do this after module initialization
> > (which is where mod_perl adds it's bits), but the PerlModule's are loaded
> > after that time, so you can't do it from Perl, at least not without a
> > major re-design of the mod_perl internals. You can't even do it from XS
> > loaded from Perl, because of that reason.
> 
> wha?  major re-design??  PerlModules are loaded during module init.
> with this patch, i can call this from startup.pl:
> Apache::add_version_component("Foo/1.1");

Hmm, my experiments with an almost exact same patch (but localised into
AxKit) didn't work when called from the BEGIN block in AxKit.xs. Oddness.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\

Reply via email to