Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Non-Repetitive Random Numbers

by LanX (Canon)
on Apr 05, 2013 at 14:54 UTC ( #1027148=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<107> $seen{int rand 10}=1 for 1 .. 1000000
     => ""
    
      DB<108> keys %seen
     => (6, 3, 7, 9, 2, 8, 1, 4, 0, 5)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2014-10-25 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (143 votes), past polls