The stupid question is the question not asked | |
PerlMonks |
Re: Misunderstanding Recursionby ikegami (Patriarch) |
on Dec 15, 2006 at 22:46 UTC ( [id://590143]=note: print w/replies, xml ) | Need Help?? |
Bug! The for loop from one call to prime can clobber the $i of a loop in progress in a parent call. for($i=3;$i<=sqrt($n);$i+=2){
Use use strict!
In Section
Seekers of Perl Wisdom
|
|