> Chuck, use Apache::Reload and you won't have to restart the server.
> http://modperlbook.org/html/ch06_08.html
Although on a production server that's dealing with many thousands of
requests, that could be an awful lot of checks to see if modules have been
updated. Personally I prefer a bit of shell scripting on a cron:
#!/bin/sh
if [ -n "`find /path/to/my/modules -prune -newer /path/to/apache.pid`" ];
then
echo "apache needs reloading"
echo "Testing"
apachectl configtest
if [ $? = 0 ] ; then
echo "Restarting"
apachectl restart
else
echo "ERROR in apache config"
fi
fi
--
Carl