Help for this page

Select Code to Download


  1. or download this
    use strict;
    use IO::Socket::SSL;
    ...
    sub random {
      print sprintf("Process %d: %d", $$, int(rand(100000))), "\n";
    }
    
  2. or download this
    $ perl fork_rand.pl
    Process 13788: 32768
    ...
    Process 13791: 3778
    Process 13792: 32768
    Process 13792: 3778
    
  3. or download this
    $ perl fork_rand.pl
    Process 13806: 94050
    ...
    Process 13809: 71603
    Process 13810: 44245
    Process 13810: 86800