Phil Schaechter wrote:
You will note that the documentation says apparently random order. In
more recent versions of Perl (IIRC starting at 5.8.1) randomness was
added to hash keys for security reasons. In previous versions the order
of the hash keys was determined by the hash function
You will note that the documentation says apparently random order. In
more recent versions of Perl (IIRC starting at 5.8.1) randomness was
added to hash keys for security reasons. In previous versions the order
of the hash keys was determined by the hash function used which appeared
random
eventually hit most of the items?
My own experiments show this to be more or less true - but I'd like to know if
anyone can explain to me how random is random.
-Phil
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http
if
anyone can explain to me how random is random.
I don't know much about Perl's random but random in a statistical or
mathematical context means that over a large enough period of time ALL
possible answers will occur. But it also means that the same answer
could return 70 times before any other
and pick another 100, and so on, will I eventually hit most of the items?
My own experiments show this to be more or less true - but I'd like to know if
anyone can explain to me how random is random.
You will note that the documentation says apparently random order. In
more recent versions of Perl