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:
  1. I will write a separate HTML file which contains lines like
    { local $SIG{USR1} = \&myapp_reload_module($modulename); kill("USR1", -$$); }
    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).
  2. Each time I modified a module, I only need to open this webpage, select that module from a dropdown list(select-option box), and then submit the form, the above Perl code with kill(USR1,-$$) will trigger the reloading of the selected module, Right?

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.