Help for this page

Select Code to Download


  1. or download this
     
    ### BEGINING OF FORK
    #
    ...
    }
    else {
            #do the rest of the script here.
    
  2. or download this
    #!/usr/local/bin/perl -w 
    use strict;
    ...
            sleep(1);
            print "This is the return to the parent process\n";
    }
    
  3. or download this
     
    This is the original process the pid = 5292
            This is the child process.. parentpid = 5292
            This is the child process its pid = 5293
    This is the return to the parent process