Help for this page

Select Code to Download


  1. or download this
    # Populate a hash.
    my %result = some_function(%data);
    ...
    
      return %to_return;
    }
    
  2. or download this
    my %distribution = degree_distribution();
    my %random_distribution_1 = random_distribution();
    ...
    output(%random_distribution_1);
    output(%random_distribution_2);
    output(%random_distribution_3);