in reply to Re: $SIG{INT} unlink problem
in thread $SIG{INT} unlink problem

Oh, if only it were so! The Perl version of fork returns undef on failure.

my $pid;

until ( defined ($pid = fork)) {
...