Author: jani Date: 2009-08-11 17:08:49 +0200 (Tue, 11 Aug 2009) New Revision: 27957
Modified: docs/Perl6/Spec/S09-data.pod Log: Clarification of hash key sort order, based on S32 Modified: docs/Perl6/Spec/S09-data.pod =================================================================== --- docs/Perl6/Spec/S09-data.pod 2009-08-11 09:27:33 UTC (rev 27956) +++ docs/Perl6/Spec/S09-data.pod 2009-08-11 15:08:49 UTC (rev 27957) @@ -1198,6 +1198,11 @@ a key object's value within the hash except by deleting it and reinserting it. +The order of hash keys is implementation dependent and arbitrary. +Unless C<%hash> is altered in any way, successive calls to C<.keys>, +C<.kv>, C<.pairs>, C<.values>, or C<.iterator> will iterate over the +elements in the same order. + =head1 Autosorted hashes The default hash iterator is a property called C<.iterator> that can be