Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: getting random number 8 times never the same

by Sandy (Curate)
on Nov 01, 2010 at 18:27 UTC ( #868844=note: print w/ replies, xml ) Need Help??


in reply to Re: getting random number 8 times never the same
in thread getting random number 8 times never the same

These random numbers would not necessarily be unique

> perl -le "$n=10;$min=5;$max=15;$,=qq( );print map {int(rand($max-$mi +n)+$min)} 1..$n" 9 9 12 10 11 12 9 5 10 9


Comment on Re^2: getting random number 8 times never the same
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2014-11-21 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (104 votes), past polls