Syntactic Confectionery Delight | |
PerlMonks |
Re: Prime number generation, and range operatorby nerfherder (Monk) |
on Jan 28, 2005 at 23:14 UTC ( [id://426154]=note: print w/replies, xml ) | Need Help?? |
Well, it needs some help... No time to test at the moment, but I'd like to mention that this wheel has already been invented:
http://search.cpan.org/~cwest/ppt-0.14/src/primes/primes Update: After reading jdalbec's brilliantly concise reply, I'd like to share a link to some wisdom/magic on this topic, located exactly where you'd expect: http://www.stonehenge.com/merlyn/UnixReview/col26.html
In Section
Seekers of Perl Wisdom
|
|