[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: PerlModule not updating %INC
From:       David Pisoni <david () cnation ! com>
Date:       2001-10-30 23:04:11
[Download RAW message or body]

I'm still having this problem, and I've discovered that it is also happening on my \
darwin box.  This is enough to lead me to believe the problem is bona fide.

To recap: problem occurs on :
	Darwin (MacOS X) Perl 5.6.0 / Apache 1.3.20 / mod_perl 1.26
	Red-Hat Linux (7.1) Perl 5.6.0 / Apache 1.3.20 / mod_perl 1.26
	Red-Hat Linux (7.1) Perl 5.6.1 / Apache 1.3.20 / mod_perl 1.26

Problem : PerlModule does not cause %INC to be updated, but 'use' does

Symptoms : Apache::StatINC does not work for said modules.  Said modules do not \
appear in Apache::Status "loaded modules" page, but do appear in the Inheritance \
tree.

Ideas?

Thanks,
David

> Date: Thu, 18 Oct 2001 12:57:27 -0800
> To: Stas Bekman <stas@stason.org>
> From: David Pisoni <david@cnation.com>
> Subject: Re: PerlModule not updating %INC
> Cc: Perrin Harkins <perrin@elem.com>, modperl@apache.org
> Bcc:
> X-Attachments:
> 
> At 1.13 +0800 10/17/2001, Stas Bekman wrote:
> > David Pisoni wrote:
> > 
> > > > At 18.23 -0400 10/11/2001, Perrin Harkins wrote:
> > > > 
> > > > > > At 18.07 -0400 10/11/2001, Perrin Harkins wrote:
> > > > > > 
> > > > > > > > We are using perl 5.6.0 for Apache 1.3/20, with mod_perl 1.26.
> > > > > > > > 
> > > > > > > Are you sure?  There was a problem with %INC and PerlModule, but I
> > > > > > > 
> > > > > thought
> > > > > 
> > > > > > > it was fixed in 1.26.
> > > > > > > 
> > > > > > > - Perrin
> > > > > > > 
> > > > > > Indeed, like I said, I tested it by dumping %INC myself -- the modules \
> > > > > > are 
> > > > > indeed missing when loaded with PerlModule.
> > > > > 
> > > > > No, I meant are you sure you're running 1.26?  Please doublecheck it, since
> > > > > this sounds so much like the bug from the previous release.
> > > > > - Perrin
> > > > > 
> > > > Indeed, here's the signature from Apache::Status :
> > > > 
> > > > 	Embedded Perl version v5.6.0 for Apache/1.3.20 (Unix) (Red-Hat/Linux) \
> > > > mod_perl/1.26 
> > > > Apache.pm shows v1.27 (that's a little weird, but I assume unimportant.)
> > > > 
> > > > Thanks,
> > > > David
> > > > 
> > > 
> > > So... any ideas on this one?
> > 
> > 
> > have you tried 5.6.1? 5.6.0 is very buggy.
> > 
> 
> Just tried it.  Fresh build of 5.6.1, and mod_perl 1.26 against it.  The problem \
> persists -- %INC is incomplete vs. my actual loaded modules, missing what was \
> loaded with PerlModule directives. 
> What should I try next. :-)
> 
> David


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic