in reply to Generating Repeatable Pseudorandom Sequences
Sounds like you needs to find or implement a random number generator that keeps its state within in instance of a package. That way you can have several generators active without them affecting each other (or interfering with rand() et al.).
A search on search.cpan.org for "random" turns up a number of hits, including one for Math::Random, which looks like it might suit your purposes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Generating Repeatable Pseudorandom Sequences
by mp (Deacon) on Sep 04, 2002 at 19:58 UTC |