http://www.perlmonks.org?node_id=33832


in reply to Proc::Daemon

> (like the double fork, setsid, chdir, reopen STDOUT etc)

Now from the parent script you only have to do a:

system('perl my_daemon.pl');
and system will return as the forked off child detaches itself from the parent. Useful for when your client program has to start it's own server.

It's Neat!