develooper Front page | perl.perl6.language | Postings from September 2005

Re: Proposal: split ternary ?? :: into binary ?? and //

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
September 6, 2005 09:14
Subject:
Re: Proposal: split ternary ?? :: into binary ?? and //
Message ID:
20050906161415.GA25158@plum.flirble.org
On Tue, Sep 06, 2005 at 04:57:30PM +0200, Thomas Sandlass wrote:

> There's yet another approach, to make ternary listfix:
> 
>   $val = $cond ?? "true" ?? "false";

So
                 ^^ that one
doesn't do the same thing as
                           ^^ that one?

I'd find that confusing in itself.
And that's without considering the change from the C<? :> of C and Perl 5.

[contents of this message may settle in transit, particularly if your mail
reader uses a proportional font.]

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About