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

Re: String concatentation operator

Thread Previous | Thread Next
From:
Damian Conway
Date:
November 16, 2002 17:46
Subject:
Re: String concatentation operator
Message ID:
3DD6F50A.2000504@conway.org
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).

Damian



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