Help for this page

Select Code to Download


  1. or download this
    # you can get rid of the ($netHash{$val} > 1.0) test
    # I only included it to make the example more like yours
    ...
       }
       ...
       ...
    
  2. or download this
    sub printHash {
        my $href = shift;
    ...
        my $RandKey = $href_keys[int(rand(scalar @href_keys))];
        print "$RandKey $href->{$RandKey}\n";
    }
    
  3. or download this
    foreach my $n ( 1 .. 100 ) {
        printHash( $capVal_hash{$n} );
    }
    
  4. or download this
    my @range_destination
        = ( [  1.0,   1.4,   1 ],
    ...
            }
        }
    }