> -----Original Message-----
> From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 1:39 PM
> To: Geoffrey Young
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: Apache::Util stuff
> 
> 
> On Tue, 19 Jun 2001, Geoffrey Young wrote:
> 
> > > set $ENV{MOD_PERL} in libhttpd.pm and 'use Apache::Util ()' 
> > > should work. 
> > 
> > this is just for 2.0, though, right?  for 1.3 I'm stuck 
> doing the bootstrap
> > manually (no apr_initialize equivalent in 1.3)
> 
> no, i'm talking 1.3.  apr_initialize is not related to whats going on
> here.  Apache::Util and friends call mod_perl::boot(), which skips the
> bootstrap() call unless $ENV{MOD_PERL}.  you should not have to call
> bootstrap manually if $ENV{MOD_PERL} is set.

oh, ok - I don't have to call bootstrap myself, but I still need to go
through the rest of the excercise to load everything up, right?

If I do that and $ENV{MOD_PERL}=1 use()ing Apache::Util seems to work ok
except for the Apache aliases for unescape_url, etc, so I still have to
bootstrap Apache manually I guess.

but since dl_install_xsub returns the coderef, isn't it more efficient to
Apache->$coderef?

anyway, just dabbling, looking for interesting examples :)

--Geoff

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

Reply via email to