#!/usr/bin/perl $| = 1; $SIG{CHLD}='IGNORE'; print "Content-type: text/plain", "\n\n"; print "We are about to create the child!", "\n"; my $pid=fork; if (!defined($pid)) { print "Fork Failed! ($!)\n"; } elsif($pid>0) { print <