Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 cooling their heels in the Monastery: (15)
As of 2014-07-22 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (119 votes), past polls