in reply to Re^4: Running a process in the backgroundin thread Running a process in the background
if (my $pid = fork) { ## Parent } elsif (defined $pid) { ## Child } else { ## Error, $pid is undefined } [download]