Dear Kyle
i have a new problem to view child PID
code
#!/usr/bin/perl
#print "PID=$$\n";
my $child=fork();
die "Can't fork:$!" unless defined $child;
if($child>0) {
print "Parent process:PID=$$, child=$child\n";
}else {
my $ppid=getppid();
print "Child process: PID=$$,parent=$ppid\n";
}
/code
It only show parent PID....and this code warn "The getppid function unimplemented".I use perlExpress and ActivePerl 5.6