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

Re^6: while(){}continue{}; Useful? (Consistent!)

by LanX (Canon)
on Mar 04, 2010 at 01:22 UTC ( #826587=note: print w/ replies, xml ) Need Help??

in reply to Re^5: while(){}continue{}; Useful? (Consistent!)
in thread while(){}continue{}; Useful?

> > > This produces identical results, and IMO is far clearer and more intuative:

> > Not with multiple nexts and code in between.

underlines added!

UPDATE: Think of it like a switch statement with a fall through to the continue block.

Cheers Rolf

Comment on Re^6: while(){}continue{}; Useful? (Consistent!)
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2015-07-06 14: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 (75 votes), past polls