aplonis has asked for the wisdom of the Perl Monks concerning the following question:

I've got an XML-RPC server up and running via the Frontier::Daemon module. But the 'new' method does not return an object. So I don't know how to close() that connection short of killing the script.

Is there a pure Perl way to close this daemon so as to free up its port short of killing the Perl script itself?

I would like for my Perl script to bring the daemon up and down on command...all in pure Perl so that it works the same for both Unix and Win32.

I have indeed been though the docs for various supporting modules but got hopelessly lost therein.

  • Comment on Pausing the Frontier::Daemon XML-RPC server