I did this and it still doesn't reload the script. I added it just after the LoadModule:
LoadModule perl_module libexec/apache/libperl.so PerlInitHandler Apache::StatINC It's a single main script, not a module. It uses CGI. This is the first time I've ever written a perl script that runs inside apache (but I've been programming perl for several years). It used to reload the script automatically, but for some reason, as I added more and more stuff to my script, it doesn't anymore. It seems like something I did but I can't figure out what. I don't really want to post the entire script to the list, if anyone wants to volonteer to have a look, let me know and I'll send it to you. It's a fairly simple sort of script to read in stuff from a form and stick it in a database, and return a table showing what's in the database. > Add the following to httpd.conf: > > # Stat the modules so changes don't require the server > # to be restarted > PerlInitHandler Apache::StatINC > > This module does a file stat on your scripts and reloads if there > has been a change. > > It seems that as I work on my script, Apache doesn't reload it when > > the script changes on disk. > > > > It seems like it's something that I did because it used to. Is there > > some common well known thing or set of things one can screw up to make > > this happen? > > > (if so, it should be documented in the mod_perl_traps man page). > > > > Michael Grant > >