Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-16 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found