I have a similar app based on RPC::XML::Server that works this way. It too relies on HTTP::Daemon so I know its possible.$thr = threads->create(sub { my $svr = JSON::RPC::Server::Daemon->new(LocalPort => $con +f->{main}->{port}); $svr->dispatch({$conf->{main}->{uri} => 'ApacheDebugServer +'}); $svr->handle(signal => 'KILL'); }); $thr->kill('KILL');
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |