Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Random generator fail

by blue_cowdawg (Monsignor)
on Dec 05, 2012 at 21:18 UTC ( #1007399=note: print w/ replies, xml ) Need Help??

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.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007399]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2014-09-23 16:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (229 votes), past polls