Hi, guys:
really appreciate all your helpful suggestions and informative links. The following is what I'm gonna try in the next step, please correct me out if I got something wrong:where $modulename comes from a select-options box in this HTML file(or from a form submission). myapp_reload_module is a customized module function which reloads a module by following the ways in Apache::Reload(I will read that source though).{ local $SIG{USR1} = \&myapp_reload_module($modulename); kill("USR1", -$$); }
I will not use kill -9 for sure, thanks shmem for this nice tip.
Best regards,
Lihao(XC)
Updated:missed out using kill(USR1, -$$) to send the signal:)
In reply to Re: FastCGI and mod_perl's Apache::Reload equivalent???
by lihao
in thread FastCGI and mod_perl's Apache::Reload equivalent???
by lihao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |