RE: PerlModule not updating %INC

2001-11-21 Thread Geoffrey Young
-Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 6:43 PM To: David Pisoni; [EMAIL PROTECTED]; Robert Landrum Subject: Re: PerlModule not updating %INC [snip] It sounds like this is a real bug with PerlModule

Re: PerlModule not updating %INC

2001-11-21 Thread Perrin Harkins
I wonder if this has something to do with the multiple init thing http://marc.theaimsgroup.com/?l=apache-modperlm=100510779912574w=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

RE: PerlModule not updating %INC

2001-11-21 Thread Geoffrey Young
-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

Re: PerlModule not updating %INC

2001-11-21 Thread Perrin Harkins
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. And no PerlFreshRestart?

RE: PerlModule not updating %INC

2001-11-21 Thread Geoffrey Young
-Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 21, 2001 11:12 AM To: Geoffrey Young; [EMAIL PROTECTED]; David Pisoni Subject: Re: PerlModule not updating %INC IIRC, I ran a test with only httpd.conf.default with only

RE: PerlModule not updating %INC

2001-11-21 Thread Geoffrey Young
ok, here was my test... [geoff@mainsheet apache]$ diff -u conf/httpd.conf.default conf/httpd.conf --- conf/httpd.conf.default Wed Nov 21 02:00:16 2001 +++ conf/httpd.conf Wed Nov 21 11:59:35 2001 @@ -38,6 +38,8 @@ # server as /usr/local/apache/logs/foo.log. # +PerlModule My::Foo +

Re: PerlModule not updating %INC

2001-11-21 Thread David Pisoni
At 11.00 -0500 11/21/2001, Perrin Harkins wrote: SNIP David, are you using Apache::ReadConfig or anything that uses it? - Perrin Nope, not using ReadConfig. And to address another point, the behavior is consistant regardless of whether or not PerlFreshRestart is on. David

Re: PerlModule not updating %INC

2001-11-20 Thread David Pisoni
tree. Ideas? Thanks, David Date: Thu, 18 Oct 2001 12:57:27 -0800 To: Stas Bekman [EMAIL PROTECTED] From: David Pisoni [EMAIL PROTECTED] Subject: Re: PerlModule not updating %INC Cc: Perrin Harkins [EMAIL PROTECTED], [EMAIL PROTECTED] Bcc: X-Attachments: At 1.13 +0800 10/17/2001, Stas Bekman wrote

Re: PerlModule not updating %INC

2001-11-20 Thread Robert Landrum
At 2:31 PM -0800 11/20/01, David Pisoni wrote: We have been doing development using mod_perl, but finding that Apache::StatINC was not working as expected (i.e., we needed to restart the web server in order to see our module changes in effect.) Our apache config files preload all necessary

Re: PerlModule not updating %INC

2001-11-20 Thread David Pisoni
At 18.02 -0500 11/20/2001, Robert Landrum wrote: At 2:31 PM -0800 11/20/01, David Pisoni wrote: We have been doing development using mod_perl, but finding that Apache::StatINC was not working as expected (i.e., we needed to restart the web server in order to see our module changes in effect.)

Re: PerlModule not updating %INC

2001-11-20 Thread Robert Landrum
If that is the case, My::Special::Module won't be loaded and compiled until the very first time that someone hits /whatever. Just about EVERY module we use has a 'PerlModule' call to it, outside any enclosing blocks. Although I do have 'PerlHandler' directives in Location and Files blocks,

Re: PerlModule not updating %INC

2001-11-20 Thread David Pisoni
At 18.32 -0500 11/20/2001, Robert Landrum wrote: If that is the case, My::Special::Module won't be loaded and compiled until the very first time that someone hits /whatever. Just about EVERY module we use has a 'PerlModule' call to it, outside any enclosing blocks. Although I do have

Re: PerlModule not updating %INC

2001-10-30 Thread David Pisoni
page, but do appear in the Inheritance tree. Ideas? Thanks, David Date: Thu, 18 Oct 2001 12:57:27 -0800 To: Stas Bekman [EMAIL PROTECTED] From: David Pisoni [EMAIL PROTECTED] Subject: Re: PerlModule not updating %INC Cc: Perrin Harkins [EMAIL PROTECTED], [EMAIL PROTECTED] Bcc: X-Attachments

Re: PerlModule not updating %INC

2001-10-18 Thread David Pisoni
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

Re: PerlModule not updating %INC

2001-10-16 Thread Stas Bekman
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

Re: PerlModule not updating %INC

2001-10-12 Thread David Pisoni
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,

PerlModule not updating %INC

2001-10-11 Thread David Pisoni
Hello, We are using perl 5.6.0 for Apache 1.3/20, with mod_perl 1.26. We are running these on a RedHat Linux 7.1, kernel v2.4.2 system. We have been doing development using mod_perl, but finding that Apache::StatINC was not working as expected (i.e., we needed to restart the web server in

Re: PerlModule not updating %INC

2001-10-11 Thread Perrin Harkins
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

Re: PerlModule not updating %INC

2001-10-11 Thread David Pisoni
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

Re: PerlModule not updating %INC

2001-10-11 Thread Perrin Harkins
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

Re: PerlModule not updating %INC

2001-10-11 Thread David Pisoni
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