in reply to Predictable random sequence
The Test::Random module may be what you’re looking for. But note that you have to use it instead of srand — because “If something in your code calls srand() all bets are off.”
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Predictable random sequence
by vsespb (Chaplain) on Sep 17, 2013 at 14:06 UTC |