Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Re: Test break, but still doing

by Tyke (Pilgrim)
on Feb 21, 2001 at 13:26 UTC ( [id://59886]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Test break, but still doing
in thread Test break, but still doing

And if you do have nested loops, you can always break out of the one that you want by using labels...
LAB_1:
  while ([cond1]) {

LAB_2:
    while ([cond2]) {
      next LAB_1 if [cond3];
    }
  }
As archon says, its all there in the perlsyn page.
  • Comment on Re: Re: Re: Re: Test break, but still doing

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-23 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found