in reply to Non-Repetitive Random Numbers
Please take a look at perl function srand.
This function "seed" the rand function so that rand can produce a different sequence each time you run your program.
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Non-Repetitive Random Numbers
by dsheroh (Monsignor) on Apr 05, 2013 at 10:04 UTC |
In Section
Seekers of Perl Wisdom