# change this statement my $pid = $pm->start and next ; # to the following my $pid = $pm->start and return !0 ; # return 1 works too