> -----Original Message-----
> From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 21, 2001 11:01 AM
> To: Geoffrey Young; [EMAIL PROTECTED]; David Pisoni
> Subject: Re: PerlModule not updating %INC
>
>
> > I wonder if this has something to do with the multiple init thing
> >
> > http://marc.theaimsgroup.com/?l=apache-modperl&m=100510779912574&w=2
>
> It does. It's exactly the same bug.
>
> > if the interpreter is really being entirely broken down on
> each restart
> > (including the initial one that Apache does when it
> reparses httpd.conf)
> > %INC might be getting mucked up...
>
> It shouldn't. I thought the interpreter didn't actually get
> broken down on
> restart at all unless you have PerlFreshRestart on.
> However,
> I see that
> Doug said this:
>
> "i think that using *Apache::ReadConfig elsewhere will still
> trigger the
> double loading of all Perl{Require,Module}s, but i doubt the people
> suffering from the double load problem are using that
> feature. so i'll
> deal with that later."
yeah, I read that and didn't understand the how patch he offered worked here
at all.
IIRC, I ran a test with only httpd.conf.default with only these additions
PerlModule My::Foo
then
package My::Foo;
warn "initializing...";
in lib/perl and I got 'initializing' on each restart. no Apache::ReadConfig
going on here.
I may have time to test this again today, but if someone else could verify,
that would be great.
--Geoff