Help for this page

Select Code to Download


  1. or download this
    use Math::Random::MT;
    my $mt = Math::Random::MT->new();
    sub badRand($) { rand() < 0.5 ? 0 : rand( $_[0] ) }
    sub goodRand($) { rand($_[0]) }
    sub bestRand($) { $mt->rand($_[0]) }
    
  2. or download this
    #!/usr/bin/env perl
    
    ...
            return \%tests;
    }
    __END__