Help for this page

Select Code to Download


  1. or download this
    print "process id: $$\n";
    my $pid = fork;
    ...
    }
    print "Child process id is: $pid\n";
    while(1) {sleep(5)}
    
  2. or download this
    use POSIX;
    
    ...
           }
        }
    }