gt; > for more than two or three values.
Tanton
- Original Message -
From: "Austin Hastings" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 3:43 PM
Subject: Re: Loop exiting
> Currently,
>
> given $foo -> $bar
> {
> }
&g
Currently,
given $foo -> $bar
{
}
can be thought of as
foreach my $bar ($foo)
{
}
Given the way people with expectations will interpret break, setting
break === last seems like the right thing to do.
=Austin
--- Larry Wall <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] writes:
> : --- Larry
[EMAIL PROTECTED] writes:
: --- Larry Wall <[EMAIL PROTECTED]> wrote:
: > Simon Cozens writes:
: > : Larry Wall:
: > : > Not the same concept exactly. I think a C within a C
: > loop
: > : > would be the same as a C, not a C.
: > :
: > : Doesn't this break C and Shell resonance?
: >
: > We've
--- Larry Wall <[EMAIL PROTECTED]> wrote:
> Simon Cozens writes:
> : Larry Wall:
> : > Not the same concept exactly. I think a C within a C
> loop
> : > would be the same as a C, not a C.
> :
> : Doesn't this break C and Shell resonance?
>
> We've done that before. :-)
Umm, doesn't break t
Simon Cozens writes:
: Larry Wall:
: > Not the same concept exactly. I think a C within a C loop
: > would be the same as a C, not a C.
:
: Doesn't this break C and Shell resonance?
We've done that before. :-)
Larry
Larry Wall:
> Not the same concept exactly. I think a C within a C loop
> would be the same as a C, not a C.
Doesn't this break C and Shell resonance?
--
Also note that i knew _far_ more about the people that call address
mungers names like 'lusers', 'egoists' or try to make luser giraffes.
Simon Cozens writes:
: given (...) {
: ...
: break;
: ...
: }
:
: for (...) {
: ...
: last;
: ...
: }
:
: Same concept, different keyword. Good idea?
Not the same concept exactly. I think a C within a C loop
would be the same as a C, not a C. So the argument s
On Mon, 2002-02-25 at 10:47, Simon Cozens wrote:
> given (...) {
> ...
> break;
> for (...) {
> ...
> last;
> Same concept, different keyword. Good idea?
Larry pointed this out. His reasoning was that given isn't exactly a
loop construct to the user. I know that I'm mor