in reply to Re^2: Is this odd behavior a floating point problem?
in thread Is this odd behavior a floating point problem?

If I were doing it with a calculator, I'd surely end up with too many or too few entries of 0.001. I might mess it up building an array. Are you sure you have the right number of elements?

You can check easily enough:

say scalar(@arr); # 40 say $#arr; # 39