On 4/24/07, Larry Wall <[EMAIL PROTECTED]> wrote:
On Tue, Apr 24, 2007 at 06:45:12PM -0400, Charles Bailey wrote:
: On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
: >Note that unless no longer allows an else
: It's probably that I'm just having another day where skull > brain, but
I'm
On Tue, Apr 24, 2007 at 06:45:12PM -0400, Charles Bailey wrote:
: On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
: >Note that unless no longer allows an else
: It's probably that I'm just having another day where skull > brain, but I'm
: not sure I see the benefit to the language here.
:
On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Note that unless no longer allows an else
It's probably that I'm just having another day where skull > brain, but I'm
not sure I see the benefit to the language here.
I think of "unless" as an alternate spelling for "if not", so it seems
On Tue, Apr 17, 2007 at 07:34:38PM -0400, Joe Gottman wrote:
: [EMAIL PROTECTED] wrote:
: >+
: >+The value of the conditional expression may be optionally bound to
: >+a closure parameter:
: >+
: >+iftesta() -> $a { say $a }
: >+elsif testb() -> $b { say $b }
: >+else -> $b
[EMAIL PROTECTED] wrote:
+
+The value of the conditional expression may be optionally bound to
+a closure parameter:
+
+iftesta() -> $a { say $a }
+elsif testb() -> $b { say $b }
+else -> $b { say $b }
I'd prefer it if the result of a test in an if or elsif were usable
On Tue, Apr 17, 2007 at 11:22:39AM -0700, [EMAIL PROTECTED] wrote:
> Note that unless no longer allows an else
I'm sorry to see this.
This is one item from PBP that I don't really agree with.
Personally, I find I am at least as likely to make mistakes
about the double negative in "if (!cond) ...
> "LP" == Luke Palmer <[EMAIL PROTECTED]> writes:
LP> On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> Note that unless no longer allows an else
LP> Hmm, that's interesting. I don't _think_ I'm opposed, but maybe I am.
LP> The main case that I can see this limiting me is
On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Note that unless no longer allows an else
Hmm, that's interesting. I don't _think_ I'm opposed, but maybe I am.
The main case that I can see this limiting me is where I like to put
my error conditions at the end of my code, out of the wa
Author: larry
Date: Tue Apr 17 11:22:38 2007
New Revision: 14376
Modified:
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S05.pod
Log:
Note that unless no longer allows an else
Clarification of binding semantics of if, elsif, and else
Clarification of C<..>. requested by moritz++
Modif