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
    No, it's based on srand().
    This module is useful if you use real random numbers in test, and wish to reproduce test failure with same seed (you still need same version+compiler+platform).
    In my case I need same numbers each run.