Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: while loop question

by Rudolf (Monk)
on Sep 06, 2012 at 13:32 UTC ( #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?


Comment on Re: while loop question
Download Code
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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2015-07-30 15:24 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (272 votes), past polls