Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: any mechanism to go to the end of a loop but do not exit the loop

by bigj (Monk)
on Apr 17, 2014 at 10:47 UTC ( #1082629=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (foo()) {
      ...
    ...
    JUST_BEFORE_OF_LOOP:
      clean_up
    }
    
  2. or download this
    while (foo()) {
      ...
    ...
    } continue {
      clean_up
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2022-08-15 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?