http://www.perlmonks.org?node_id=1029008


in reply to Re: Re: Prime Number Finder
in thread Prime Number Finder

In fact, you're right, because numbers which only can be devided in 1, themselves and their square root will be marked as prime in this way. make the < into a <= and it is solved.