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

Re: last in a do while loop

by davorg (Chancellor)
on Nov 03, 2006 at 13:28 UTC ( [id://582073]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    do {{
        next if $x == $y;
        # do something here
    }} until $x++ > $z;
    
  2. or download this
    LOOP: { 
            do {
    ...
                # do something here
            } while $x++ <= $z;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-19 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found