Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://826587]
help
Chatterbox?
[Corion]: Meh, I found another Amazon "used" scam reseller... If a product sells for "almost new" at half the price, it's a scam, most likely...
[ambrus]: Corion: that's not true. Actually for Christmas and Thanksgiving, a lot of people buy electronics such as cameras as present, then many of them figure out they don't need it,
[ambrus]: and the electronics gets reselled almost new, but it has to be sold at half price because otherwise everyone chooses to buy the new product which has fewer risk of selling damaged products labelled as almost new.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (15)
As of 2017-11-21 14:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (304 votes). Check out past polls.

    Notices?