Fingo has asked for the wisdom of the Perl Monks concerning the following question:
This is taken straight from the documentation for srand
Frequently called programs (like CGI scripts) that simply use time ^ $$ for a seed can fall prey to the mathematical property that a^b == (a+1)^(b+1) one-third of the time. So don't do that.I don't quite understand what the author meant, but this does not seem possible. Is this a mistake, or am I misunderstanding what is meant?
Thanks, Max
Back to
Seekers of Perl Wisdom