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. 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 since it is in memory or cache. To get it to
realize the update I usually have to reset Apache. I'm hoping for an
easier way especially since sometimes I don't have the right to reset
the server.
Why not Apache2::Reload
http://perl.apache.org/docs/2.0/user/coding/
coding.html#Auto_Reloading_Modified_Modules_with_Apache2__Reload