Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Random generator fail

by kcott (Canon)
on Dec 07, 2012 at 09:03 UTC ( #1007698=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -E 'say 1 + int rand 99 for 1..3'
    28
    94
    43
    
  2. or download this
    $ perl -E 'say 1 + rand 98 for 1..3'
    38.6240726329874
    72.0054041794683
    94.0423383452302
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007698]
help
Chatterbox?
[thezip]: G'day!

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-01-19 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.