Front page | perl.perl6.internals |
Postings from August 2008
From: Allison Randal
August 26, 2008 11:10
Message ID: 48B446EA.email@example.com
jerry gay wrote:
> On Tue, Aug 26, 2008 at 9:16 AM, Reini Urban <firstname.lastname@example.org> wrote:
>> jerry gay schrieb:
>>> On Tue, Aug 26, 2008 at 2:34 AM, Reini Urban <email@example.com> wrote:
>>>> I'll go now for something like
To make sure, that means basically the same thing as the following
if (key1 or key2 and (key3 and not key 4))
And the parentheses around the second pair is optional, but there to
guarantee the precedence?
And, we can optionally include whitespace to make the condition read better?
#IF(key1 | key2 & (key3 & !key4))
If so, then thumbs up.
>> I went for #UNLESS(expr): here.
>> Also #ELSIF(expr):
>> With or without the ending double-colon?
> the colon is unnecessary. the ending paren and a mandatory whitespace is enough.
I prefer the ending colon, because it makes it very clear where the
actual line text begins. But, it's not hugely important.