my $return = fork(); if($return == -1){ print "fork() failed!
"; } elsif($return == 0){ mach_was(); } else{ mach_was_anderes(); }