in reply to Re^4: c-style for loop versus list for loop, and bigint
in thread c-style for loop versus list for loop, and bigint

hmm could be, I was thinking of the operator not of the iterator, but when using reverse one should get a list like before and it doesn't help either:

use bigint; my $answer = 1; print ref $answer; # prints "Math::BigInt" for my $i (1..1) { print ref $i; # prints nothing } for my $i (reverse 1..2) { print ref $i; # prints nothing }

Lets be honest, these kind of problems are one of the reasons why Python is more popular for scientific calculations.

Cheers Rolf