Em Qui, 2009-10-01 às 12:22 -0400, Kevin Phair escreveu:
> This test fails for me with the latest Rakudo. It looks like this is
> because when a variable is pushed onto an array, and then
> auto-incremented, it is also auto-incremented inside the array.
> my @stuff;
> my $w = 1;
> @stuff.push($w
# P35 (**) Determine the prime factors of a given positive integer.
This test fails for me with the latest Rakudo. It looks like this is
because when a variable is pushed onto an array, and then
auto-incremented, it is also auto-incremented inside the array.
my @stuff;
my $w = 1;
@stuff.push