# exercise modified to actually test my $sum = 0; for ^10 { put ++$sum; } my $sum2 = 0; for ^10 { put $sum2++; }