Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-07-24 05:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (158 votes), past polls