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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://138008]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-03-29 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found