Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Predictable random sequence

by vsespb (Chaplain)
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.

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054440]
[harishnv]: have a question
[shmem]: good for you. Is it a secret?

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2018-02-19 16:18 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (266 votes). Check out past polls.