Modern Perl p. 33 "continue" -- what is a "with" loop?

Modern Perl p. 33 "continue" -- what is a "with" loop?

am 07.06.2011 21:58:18 von David Christensen

beginners:

I'm reading "Modern Perl". I'm not sure where to get help with the
technical content of the book. STFW I've found:

http://onyxneon.com/books/modern_perl/index.html

http://www.modernperlbooks.com/mt/index.html

https://github.com/chromatic/modern_perl_book/wiki

https://github.com/chromatic/modern_perl_book/issues


I haven't found a mailing list, forum, wiki, etc., for questions and
answers, so I'm posting here.


On p. 33 when discussing "continue", chromatic states:

"You may use it with a while, until, with, or for loop."


What is a "with" loop?


TIA,

David

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Modern Perl p. 33 "continue" -- what is a "with" loop?

am 07.06.2011 22:02:33 von Uri Guttman

>>>>> "DC" == David Christensen writes:

DC> On p. 33 when discussing "continue", chromatic states:

DC> "You may use it with a while, until, with, or for loop."


DC> What is a "with" loop?

looks like a mistake. no such animal.

uri

--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Modern Perl p. 33 "continue" -- what is a "with" loop?

am 07.06.2011 22:27:09 von John SJ Anderson

On Tue, Jun 7, 2011 at 16:02, Uri Guttman wrote:
>>>>>> "DC" == David Christensen writes:

>  DC> What is a "with" loop?
>
> looks like a mistake. no such animal.

I think he probably means a 'when' block -- see the last paragraph in
for an explanation
of how that works.

David, to answer the semi-unasked other question in your first email,
I think this is a fine forum to ask questions that occur to you as
you're reading _Modern Perl_.

chrs,
john.

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/