in reply to Prime Number Finder
You may as well write
asfor($i=$o; $i<=$e; $i++){
That way you start on an odd number and account for the only even number which is prime. There is no need to check even numbers after 2.print "2 is prime\n" if $o == 2; $o++ if $o % 2; for my $i ( $i=$o; $i<=$e; $i+=2 ){
In Section
Cool Uses for Perl