Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Predictable random sequence

by vsespb (Hermit)
on Sep 17, 2013 at 13:41 UTC ( #1054440=note: print w/ replies, xml ) Need Help??


in reply to Re: Predictable random sequence
in thread Predictable random sequence

Thanks. That's sad. So I still searching for another approach then.


Comment on Re^2: Predictable random sequence
Re^3: Predictable random sequence
by Corion (Pope) on Sep 17, 2013 at 13:48 UTC

    Depending on your needs, you might get away by not using Perls random number generator and instead using Math::Random::MT - this would give you more randomness on Windows too, and maybe even predictability across more parameters.

    Personally, I would aim for centralizing the generation of such number sequences and passing either the generator or the number(s) around as parameters. That way, you can better control what number gets used where.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054440]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2014-10-26 02:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls