Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: while loop question

by Rudolf (Pilgrim)
on Sep 06, 2012 at 13:32 UTC ( [id://992085]=note: print w/replies, xml ) Need Help??


in reply to while loop question

would the continue statement still execute after the loop has ended the last time?

while(x){}continue{};

Replies are listed 'Best First'.
Re^2: while loop question
by Freezer (Sexton) on Sep 06, 2012 at 13:42 UTC
    Does continue behave differently in the two circumstances that I have mentioned?
      Yes. continue {} block will not be executed if last is used.

        ah okay, thanks I should have remembered that!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-19 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found