Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: What could be the exact usage of While - continue loop

by naikonta (Curate)
on May 09, 2007 at 04:18 UTC ( [id://614293]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $i = my $j = 0;
    while ($i++ < 5) {
    ...
        $j++;
        printf "j:$j\n";
    }
    
  2. or download this
    my $yodda = 0;
    while ($yodda < 6) {
    ...
    } continue {
        print "$yodda\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://614293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-04-23 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found