Author: skids
Date: 2009-04-10 20:44:27 +0200 (Fri, 10 Apr 2009)
New Revision: 26181
Modified:
docs/Perl6/Spec/S32-setting-library/Containers.pod
Log:
Be clear a doouble Hash.push(Hash.reverse) does not preserve all state
(value list order may be altered.)
Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod
===================================================================
--- docs/Perl6/Spec/S32-setting-library/Containers.pod 2009-04-10 17:49:13 UTC
(rev 26180)
+++ docs/Perl6/Spec/S32-setting-library/Containers.pod 2009-04-10 18:44:27 UTC
(rev 26181)
@@ -654,7 +654,8 @@
alternating keys and values; however, unlike assignment, when
a duplicate key is detected, coerces the colliding entry's value to an
array and pushes the Pair's value onto that array. Hence to reverse
-a hash containing duplicate values without losing information, say:
+a hash containing duplicate values without losing (associative) information,
+say:
%out.push(%in.reverse)