Re: FastCGI, Perl and reload changed modules

"Anthony R. J. Ball" <ant-CWvJKW/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel,gmane.spam.detected
Message-ID <[email protected]>
You can put code in to do a:
do $module;
or something along those lines... there are a couple of ways to do this...

1. Add code that checks module timestamps when you get a call and does a
do on the changed files before processing...
2. Add a signal handler that processes the files when it is received. 

On Thu, Dec 06, 2007 at 09:00:42PM -0500, [email protected] wrote:
> Hi, folks:
> 
> Is there a good way to update a preloaded Perl Module just like
> Apache::Reload for mod_perl users. I am currently using "kill -9" to
> restart the fcgi process, so each time I get some changes on my
> modules, I have to restart(kill) fcgi process to validate the change..
>  Is there any better way to do this?? I am using Apache2.0.59,
> mod_fastcgi/2.4.2, CGI::Fast with HTML::Mason.
> 
> Many thanks,
> XC
> ___________________________________
> fastcgi-developers mailing list
> http://fastcgi.com/fastcgi-developers/

-- 
     www.suave.net - Anthony Ball - ant-CWvJKW/[email protected]
        OSB - http://rivendell.suave.net/Beer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Oh what a tangled web we weave, when first we try to comms receive.

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.