3 ms·
Here's the delta with the changes: https://metacpan.org/module/RJBS/perl-5.17.6/pod/perldelta.pod https://metacpan.org/module/RJBS/perl-5.17.6/pod/perldelta.p..
by ojosilva 14y ago
Here's the delta with the changes: https://metacpan.org/module/RJBS/perl-5.17.6/pod/perldelta.pod https://metacpan.org/module/RJBS/perl-5.17.6/pod/perldelta.p...
- draegtun 14y agoAnd below are all the delta changes in 5.17 uptil 5.17.6: * 5.17.0 - https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5170delta.pod https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5170del... * 5.17.1 - https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5171delta.pod https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5171del... * 5.17.2 - https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5172delta.pod https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5172del... * 5.17.3 - https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5173delta.pod https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5173del... * 5.17.4 - https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5174delta.pod https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5174del... * 5.17.5 - https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5175delta.pod https://metacpan.org/module/RJBS/perl-5.17.6/pod/perl5175del...
- jerf 14y ago5.17.6: "The seed used by Perl's hash function is now random. This means that the order which keys/values will be returned from functions like keys(), values(), and each() will differ from run to run." Wait, what? 5.8.1: "Mainly due to security reasons, the "random ordering" of hashes has been made even more random. Previously while the order of hash elements from keys(), values(), and each() was essentially random, it was still repeatable. Now, however, the order varies between different runs of Perl." - http://search.cpan.org/~jhi/perl-5.8.1/pod/perldelta.pod#Hash_Randomisation http://search.cpan.org/~jhi/perl-5.8.1/pod/perldelta.pod#Has... , Sept 25 2003 When did that get undone? Edit: Admittedly, I just tried to verify that this actually happened in 5.8.1 and none of 5.8.8, 5.10.0, or 5.14.2 appear to be actually randomizing key order, at least according to the keys function.
- broquaint 14y agoRelevant discussion on perl5-porters: http://www.nntp.perl.org/group/perl.perl5.porters/2012/10/msg194813.html http://www.nntp.perl.org/group/perl.perl5.porters/2012/10/ms...
- jerf 14y agoThank you. That explains why my quick test (the obvious one) did not reveal anything in the older versions, I did not trigger the defensive behavior in my casually-chosen keys.
- draegtun 14y agoSome more relevant links: * Hash order randomization is coming, are you ready? - http://perlmonks.org/?node_id=1005122 http://perlmonks.org/?node_id=1005122 * Hash randomisation breaks CPAN - https://rt.perl.org/rt3/Public/Bug/Display.html?id=115908 https://rt.perl.org/rt3/Public/Bug/Display.html?id=115908