in reply to Storing the state of the random number generator

initstate() and setstate() have to do with the random() call, but perl may not be using random() so they'd be of no use to you. You can tell with: perl -Vrandfunc. For example, 5.6.1 compiled on RedHat 7.1 with the defaults is using drand48(), not random()

  • Comment on Re: Storing the state of the random number generator