This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
was Re: hashing order difference?
authorPeter Prymmer <PPrymmer@factset.com>
Fri, 23 Feb 2001 10:54:09 +0000 (02:54 -0800)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 23 Feb 2001 19:11:36 +0000 (19:11 +0000)
Message-ID: <Pine.OSF.4.10.10102231036100.79050-100000@aspara.forte.com>

p4raw-id: //depot/perl@8913

t/op/lex_assign.t

index 181c842..ee74d93 100755 (executable)
@@ -244,7 +244,7 @@ lc $cstr                    # lc
 quotemeta $cstr                        # quotemeta
 @$aref                         # rv2av
 @$undefed                      # rv2av undef
-each %h==1                     # each
+(each %h) % 2 == 1             # each
 values %h                      # values
 keys %h                                # keys
 %$href                         # rv2hv