I'm encountering a bug in the execution of a for loop like so: $ ./pugs x.p6 Original array: 123456 Implicit assignment to $_: 1 2 3 4 5 6 Explicit assignment to $_: 1 3 5 $ cat x.p6 my @x = (1,2,3,4,5,6); say "Original array: ", @x; say "Implicit assignment to \$_:"; for @x { say $_; } say "Explicit assignment to \$_:"; for @x -> ($_) { say $_; }
Am I doing something wrong? -- Aaron Sherman <[EMAIL PROTECTED]> Senior Systems Engineer and Toolsmith "It's the sound of a satellite saying, 'get me down!'" -Shriekback