in reply to Re^7: Get the order of HTTP request headers
in thread Get the order of HTTP request headers

If something is random, the odds of an outcome occurring is equal to the odds of each other outcome occurring. Something can be unpredictable without being random.

Without a doubt, the order of the values returned by keys(%ENV) is unpredictable.

Replies are listed 'Best First'.
Re^9: Get the order of HTTP request headers
by WizardOfUz (Friar) on May 06, 2010 at 19:41 UTC
    Without a doubt, the order of the values returned by keys(%ENV) is unpredictable.

    I really don't want to continue this, but just out of curiosity: How do you call a random number generator?

      $a[rand(@a)], usually. Is that what you mean? I don't understand the question.

        I meant "denote". But this is getting us nowhere. Your statement ...

        There's definitely no attempt to make them random

        ... is simply wrong and you just won't admit that, will you?

        But there is indeed a built-in hash randomization mechanism that is based on the same principle as the RNG in your favorite OS. And this mechanism is clearly documented in perlsec and perlrun.

        If you follow those links you will even find the phrases "randomise", "hash randomization" and "random perturbation".

        I don't know what else to say.