in reply to Forking problems

from perldoc

It returns the child pid to the parent process, 0 to the child process, or undef if the fork is unsuccessful


Poolpi
'Ebry haffa hoe hab im tik a bush'. Jamaican proverb