Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: while loops

by Glyndwr (Initiate)
on Jan 11, 2002 at 18:35 UTC ( #138008=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $num=20; 
    $while($num<30){ 
       print "num is $num\n";
       $num=$num+1;\n ;
    }
    
  2. or download this
    $num=20;<BR>
    while($num<30){
       print "num is $num\n";
       $num+=$num;\n;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://138008]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-09-25 17:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (284 votes). Check out past polls.

    Notices?