Hello,
 I have this script here:
 
#!/usr/bin/perluse warnings;use strict;
 
print "PID=$$\n";
my $child = fork();die "Can't fork: $!" unless defined $child;
if ($child > 0) {  # parent process  print "Parent process: PID=$$, 
child=$child\n";} else {  # child process  my $ppid = getppid();  print "Child 
process: PID=$$, parent=$ppid\n";}
 
after I run it I get:
PID=3472
The getppid function is unimplemented at...
The getppid function is unimplemented at...
Can someone explain what is wrong here?
   Thanks
 
_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews

Reply via email to