Perl: the Markov chain saw | |
PerlMonks |
Re^4: A script with a loop is running my computer Out of memoryby GrandFather (Saint) |
on Feb 03, 2011 at 19:49 UTC ( [id://886055]=note: print w/replies, xml ) | Need Help?? |
Or by modifying the compound interest formula to kill off the previous generation:
Prints:
Add 1 instead of 0.5 in the $n calculation if you want a minimum of $targetPop.
True laziness is hard work
In Section
Seekers of Perl Wisdom
|
|