Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

(ichimunki) Re: Prime Number Finder

by ichimunki (Priest)
on Feb 07, 2002 at 19:59 UTC ( #143959=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for($i=$o; $i<=$e; $i++){
    
  2. or download this
    print "2 is prime\n" if $o == 2;
    $o++ if $o % 2;
    for my $i ( $i=$o; $i<=$e; $i+=2 ){
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://143959]
help
Chatterbox?
[hippo]: Can anybody suggest a scalar value of $x for which ($x && !length $x) is true?

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-07-27 13:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (413 votes). Check out past polls.