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

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

by LanX (Saint)
on Mar 04, 2010 at 01:22 UTC ( [id://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

Log In?
Username:
Password:

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

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

    No recent polls found