in reply to writing a basic bulkmailer

POSIX::setsid() is to free the process from a controlling terminal, making itelf a process group leader - no more parent process.

Proc::Daemon will do exactly what you want.

After Compline,
Zaxo