Re: Reloading Modules Problem [mod_perl2]

[prev] [thread] [next] [Date index for 2005/01/04]

From: Vincent Moneymaker
Subject: Re: Reloading Modules Problem [mod_perl2]
Date: 19:54 on 04 Jan 2005
Philippe M. Chiasson wrote:

>Possibly a problem with clear_stash()

>> [...]
>>
>> so both modules are located in the same directory, right? Can you reduce
>> those module to the very minimum while one still reloads and the other
>> doesn't and post them here, and I'll try to reproduce it here. Also
please
>> past the relevant bits from httpd.conf. Thanks.

>I'd like to have look at what code you have in Apache/Menus.pm if that's
possible.

>Could you also try applying this small debugging patch and try again?
Posting
>the "[clear_stash]" log lines from your error_log back ?

Sorry for the slow follow up to Stas, but I've been swamped with work.
Anyway, I will follow up on your suggestions and post the Menus.pm code.  I
suspect though that I know what the problem is.  Originally, the Menus.pm
module didn't have a declared package name.  Only after I ran into the
reload problem did I declare it as being part of the Apache namespace.
Somehow, I think this is what is causing the problem.  When I get a chance
(hopefully tonight or tomorrow) I am going to test this theory out by giving
the module a completely different name like Menus2.pm and declaring it from
the start as being part of the Apache namespace.

(message missing)

Reloading Modules Problem [mod_perl2]
Vincent Moneymaker 22:04 on 28 Dec 2004

Re: Reloading Modules Problem [mod_perl2]
Stas Bekman 22:31 on 28 Dec 2004

Re: Reloading Modules Problem [mod_perl2]
Stas Bekman 22:53 on 28 Dec 2004

Re: Reloading Modules Problem [mod_perl2]
Vincent Moneymaker 03:03 on 29 Dec 2004

Re: Reloading Modules Problem [mod_perl2]
Stas Bekman 17:13 on 29 Dec 2004

Re: Reloading Modules Problem [mod_perl2]
Philippe M. Chiasson 18:57 on 04 Jan 2005

Re: Reloading Modules Problem [mod_perl2]
Vincent Moneymaker 04:28 on 05 Jan 2005

Re: Reloading Modules Problem [mod_perl2]
Philippe M. Chiasson 08:17 on 05 Jan 2005

Re: Reloading Modules Problem [mod_perl2]
Vincent Moneymaker 19:54 on 04 Jan 2005

Re: Reloading Modules Problem [mod_perl2]
Stas Bekman 20:10 on 04 Jan 2005

Generated at 12:15 on 16 Jan 2005 by mariachi v0.52