Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    # forker.pl
    ...
    }
    
    print "This is the parent process\n";
    
  2. or download this
    #!/usr/bin/perl -l
    # busy_wait.pl
    ...
            print "Busy!";
            sleep 2;
    }
    
  3. or download this
    [matt@megatron ~]$ /tmp/forker.pl
    Busy!
    ...
    [matt@megatron ~]$ Busy!
    Busy!
    Busy!