Help for this page
die "fork returned $pid";
die $!;
pid = fork(); switch (pid){ ... /* parent */ break; }