Perl: the Markov chain saw | |
PerlMonks |
Re^3: When is a 2 not a 2?by ikegami (Patriarch) |
on Jan 31, 2008 at 02:14 UTC ( [id://665257]=note: print w/replies, xml ) | Need Help?? |
When, to end the loop? It'll work for this loop. What about longer loops? The loop counter would accumulate more and more error, potentially skewering your numbers and potentially making the loop into an infinite loop. Seems to me to be plain bad practice to knowingly accumulate an error.
In Section
Seekers of Perl Wisdom
|
|