http://qs321.pair.com?node_id=658472


in reply to Process as daemon, communicate back

I havent used that module, but if you're in *nix, you could use fork without much problem.

As for the InterProcess Communication (IPC) perlipc part, there are a number of options.

I'm partial towards Shared Memory, but it would involve semaphores. From my point of view its the most powerful solution, but consider if your problem merits the extra work (synchronization).

If you need sample code for forking child processes or shared memory, let me know. I must have some stored somewhere.

Heatseeker Cannibal