Moritz Lenz wrote:

1) A RNG class (don't really care what the name is, for now)
2) An instance of that in $*RAND (which you can temp())
3) rand() and srand() act on $*RAND
4) It should be easy to create instances of the RNG to use in your own
class.

The sounds reasonable. The one thing I'd add is that maybe C<srand> doesn't need to exist: if the docs say to use "$*RAND.seed = ..." then the various localization/customization options almost don't need to be mentioned (except to define the required role that $*RAND must do for C<rand> and C<pick> to work).

Reply via email to