Child
Fennec imports Child.pm which brings in the 'child {}' function. As the above example shows, you do not need to check if you are parent or child, you also do not need to worry about closing your child process. The child process will run the codeblock, then it will exit.

This is a list of other methods the child object has available. The $parent object also has some helpful methods