Reloading Modules Problem [mod_perl2]

2004-12-28 Thread Vincent Moneymaker
I am running Apache 2.0.52 on a solaris 8 box with mod_perl 1.99_12. Over the weekend I tried to upgrade to the 1.99_19 version of mod_perl. With mod_perl 1.99_12 all of the requisite modules reloaded properly when their contents changed. However, with the 1.99_19 version some modules are not ge

Re: Reloading Modules Problem [mod_perl2]

2004-12-28 Thread Stas Bekman
Vincent Moneymaker wrote: I am running Apache 2.0.52 on a solaris 8 box with mod_perl 1.99_12. Over the weekend I tried to upgrade to the 1.99_19 version of mod_perl. With mod_perl 1.99_12 all of the requisite modules reloaded properly when their contents changed. However, with the 1.99_19 versi

Re: Reloading Modules Problem [mod_perl2]

2004-12-28 Thread Stas Bekman
[please don't forget to CC the list in your followups] Vincent Moneymaker wrote: sorry, but I've lost you, Vincent. You say that only 1.99_12 works, but > have you tried other version?. I believe 1.99_16 should work too, please try: http://search.cpan.org/~stas/mod_perl-1.99_16/ If 1.99_16 works a

Re: Reloading Modules Problem [mod_perl2]

2004-12-28 Thread Vincent Moneymaker
If 1.99_16 works and 1.99_17 doesn't that would probably be the change to blame: Added ModPerl::Util::unload_package() to remove a loaded package as thoroughly as possible by clearing it's stash. [Gozer] Please confirm that first. Next let's take some specific module, put it in PerlSetVar ReloadMo

Re: Reloading Modules Problem [mod_perl2]

2004-12-29 Thread Stas Bekman
Vincent Moneymaker wrote: Okay, mod_perl 1.99_16 reloading works. So the reloading problem starts with the 1.99_17 version as you suspected. Perfect. So we most likely know the suspect. Here is a snippet from my error_log showing the reloading messages that appear when the Reloading Debugger

Re: Reloading Modules Problem [mod_perl2]

2005-01-04 Thread Philippe M. Chiasson
Stas Bekman wrote: Vincent Moneymaker wrote: Okay, mod_perl 1.99_16 reloading works. So the reloading problem starts with the 1.99_17 version as you suspected. Perfect. So we most likely know the suspect. Possibly a problem with clear_stash() [...] so both modules are located in the same direct

Re: Reloading Modules Problem [mod_perl2]

2005-01-04 Thread Vincent Moneymaker
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. Al

Re: Reloading Modules Problem [mod_perl2]

2005-01-04 Thread Stas Bekman
Vincent Moneymaker wrote: 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 i

Re: Reloading Modules Problem [mod_perl2]

2005-01-04 Thread Vincent Moneymaker
Stas Bekman wrote: But you also indicated that all versions before 1.99_17 did work w/o the package declaration, so that would be mean a behavior change. First the results. I applied Philippe's patch, but no Reload messages showed up in the error log when changes were made to the Menus.pm module

Re: Reloading Modules Problem [mod_perl2]

2005-01-05 Thread Philippe M. Chiasson
Vincent Moneymaker wrote: Stas Bekman wrote: But you also indicated that all versions before 1.99_17 did work w/o the package declaration, so that would be mean a behavior change. First the results. I applied Philippe's patch, but no Reload messages showed up in the error log when changes were m