3 # $Header: each.t,v 4.0 91/03/20 01:52:14 lwall Locked $
9 $h{'jkl','mno'} = "JKL\034MNO";
10 $h{'a',2,3,4,5} = join("\034",'A',2,3,4,5);
41 if ($#keys == 29 && $#values == 29) {print "ok 1\n";} else {print "not ok 1\n";}
43 while (($key,$value) = each(h)) {
44 if ($key eq $keys[$i] && $value eq $values[$i] && $key gt $value) {
46 $i++ if $key eq $value;
50 if ($i == 30) {print "ok 2\n";} else {print "not ok 2\n";}
52 @keys = ('blurfl', keys(%h), 'dyick');
53 if ($#keys == 31) {print "ok 3\n";} else {print "not ok 3\n";}