Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    #print "PID=$$\n";
    ...
        my $ppid=getppid();
        print "Child process: PID=$$,parent=$ppid\n";
    }