Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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

by LanX (Bishop)
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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://826587]
[LanX]: White House indicates it could find funds to train 1 million teachers ...
[LanX]: wait
[LanX]: White House indicates it could find funds to train and arm 1 million teachers!
LanX relieved...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2018-02-23 11:28 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (301 votes). Check out past polls.