in reply to Starting and stopping a listener script from CGI
Then you can use any of my column code that uses CGI.pm, HTTP::Daemon and fork as a model, and make yourself a "mini web server" as your daemon. Data is sent to the server by invoking a URL like a form. The server can be shut down by invoking a different URL. It' s all a small matter of programming.
Google for "site:stonehenge CGI HTTP::Daemon fork" to find the unique hits. (Looks like WT columns 23, 24, and 56).
-- Randal L. Schwartz, Perl hacker
|
|---|