in reply to Running daemon threads

i'm not quite sure if i understood your question correctly. when you're looking for a method to launch and control another program within a perl script the easiest way would be to fork and spawn a child process which can be controlled by the parent process.