As I recall, the Camel book says something like "the continue block
is not used often in practice" or something like that.

I've not used it either, but you'd use it if you had code in the loop
that interrupts the loop with a next.  The code after the continue 
gets executed before the condition is evaluated again.

-will

Mooney Christophe-Cmooney1 wrote:
> 
> I have been programming perl for quite some time, but i have never used a
> 'continue' block.  It seems just as easy to put any code that one would
> normally put in a continue right into the loop itself.  What is the purpose
> of a continue block?  Is there a time where a continue might be prefered to
> simply having one block for the whole loop?
> 
> Thanks!
> christopher

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to