Apparently, that's not how it works, otherwise
in reply to Re: Truly randomized keys() in perl 5.17 - a challenge for testing?
in thread Truly randomized keys() in perl 5.17 - a challenge for testing?
would not be failing. What the code does is run keys() once to determine the order and one more time to verify the application's result according to the first run:
There's no insertions in between, and yet it started failing with perl-5.17+ on some systems.