Help for this page

Select Code to Download


  1. or download this
    $ perl -e 'use 5.10.0; say int(6*rand())+1 foreach(1..10);'
    6
    ...
    3
    5
    
  2. or download this
           rand EXPR
           rand    Returns a random fractional number greater than or equa
    +l to 0
    ...
                   secure, including: Math::Random::Secure,
                   Math::Random::MT::Perl, and Math::TrulyRandom.