Re: Clear Registry

2005-08-17 Thread Badai Aqrandista
I use Apache::StatINC It works fine for me, I haven't noticed needing to restart with it Except you have two modules A and B, where A's BEGIN block depends on B's BEGIN block being executed beforehand, and you only change module A. In that case you definitely must restart. Got bitten by th

Re: Clear Registry

2005-08-17 Thread Boysenberry Payne
Guess that doesn't help with Apache2, sorry should have looked closer :( Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Aug 17, 2005, at 4:44 PM, Boysenberry Payne wrote: I use Apache::StatINC It works fine for me, I haven't noticed needing to restart with it Boysenberry

Re: Clear Registry

2005-08-17 Thread Boysenberry Payne
I use Apache::StatINC It works fine for me, I haven't noticed needing to restart with it Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Aug 17, 2005, at 4:33 PM, Philip M. Gollucci wrote: Justin Luster wrote: So are you saying that a graceful restart is the only real answ

Re: Clear Registry

2005-08-17 Thread Philip M. Gollucci
Justin Luster wrote: So are you saying that a graceful restart is the only real answer? I've noticed, when doing a lot of development, that Apache::Reload doesn't always work when it picks up the change. I end up getting something I needed undefined in another module or something odd like

RE: Clear Registry

2005-08-17 Thread Justin Luster
So are you saying that a graceful restart is the only real answer? -Original Message- From: Jonathan Vanasco [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 2:23 PM To: mod_perl List Subject: Re: Clear Registry I've noticed, when doing a lot of development, that A

Re: Clear Registry

2005-08-17 Thread Jonathan Vanasco
I've noticed, when doing a lot of development, that Apache::Reload doesn't always work when it picks up the change. I end up getting something I needed undefined in another module or something odd like that, and end up with a graceful restart On Aug 17, 2005, at 4:36 PM, Philip M. Golluc

Re: Clear Registry

2005-08-17 Thread Philippe M. Chiasson
Philip M. Gollucci wrote: > Justin Luster wrote: > >> No I was not using Modperl::RegistryCooker. I guess I will have to >> "use" it. >> >> In Mod_Perl my "library" files get loaded into memory. If I want to >> make a change to the "library" file (one that my main.pl file >> "requires") I cannot

Re: Clear Registry

2005-08-17 Thread Philip M. Gollucci
Justin Luster wrote: No I was not using Modperl::RegistryCooker. I guess I will have to "use" it. In Mod_Perl my "library" files get loaded into memory. If I want to make a change to the "library" file (one that my main.pl file "requires") I cannot since it is in memory or cache. To get it to

RE: Clear Registry

2005-08-17 Thread Justin Luster
ust 17, 2005 1:03 PM To: Justin Luster Cc: 'Philip M. Gollucci'; modperl@perl.apache.org Subject: Re: Clear Registry Justin Luster wrote: > I tried this and I get: > > Can't locate object method: "cache_table_common". Are you calling it as Modperl::RegistryCo

Re: Clear Registry

2005-08-17 Thread Philippe M. Chiasson
Justin Luster wrote: > I tried this and I get: > > Can't locate object method: "cache_table_common". Are you calling it as Modperl::RegistryCooker->uncache_myself()? What is the _exact_ error message ? But more interestingly, what exactly are you triyng to do that requires you to clean the cach

RE: Clear Registry

2005-08-17 Thread Justin Luster
I tried this and I get: Can't locate object method: "cache_table_common". Thanks, Justin -Original Message- From: Philip M. Gollucci [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 11:05 AM To: Justin Luster Cc: modperl@perl.apache.org Subject: Re: Clear R

Re: Clear Registry

2005-08-17 Thread Philip M. Gollucci
Justin Luster wrote: Is there a way in Perl code to clear out the cached code in the registry? From lib/Modperl-Registry/lib/Modperl/RegistryCooker.pm: # # this is a function should be called from the registry script, and