The SIGCHLD signal exists on all Unix systems, not only Linux (and Perl probably emulates it on others), but it is issued when a child exits, not when it is created. The OP wants to "detect fork events" which appears to require the latter.
Anno
Comment on Re^2: Detecting fork events in a module?