develooper Front page | perl.perl6.language | Postings from November 2002

Re: String concatentation operator

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
November 17, 2002 10:35
Subject:
Re: String concatentation operator
Message ID:
a05200f01b9fd88f0263d@[63.120.19.221]
At 12:46 PM +1100 11/17/02, Damian Conway wrote:
>Dan Sugalski pondered:
>
>>What does:
>  >
>>     $foo = any(Bar::new, Baz::new, Xyzzy::new);
>>     $foo.run;
>>
>>do?
>
>Creates a disjunction of three classnames, then calls the C<.run> method on
>each, in parallel, and returns a disjunction of the results of the calls
>(which, in the void context is ignored, or maybe optimized away).

I was afraid you'd say that. It does rather complicate things, as the 
interpreter really isn't set up to be quantum for control flow. Can 
we at least guarantee undefined order of operations on things? (I can 
pitch heisenbunnies at people if it'll help)
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk

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