Perl: the Markov chain saw | |
PerlMonks |
Re: Process as daemon, communicate backby HeatSeekerCannibal (Beadle) |
on Dec 21, 2007 at 16:16 UTC ( [id://658472]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|