Luke Palmer asked:
Of course, there will be a pragma or something to instruct it to operate serially, yes?
I doubt it. Unless there's a pragma to instruct threads to operate serially.
In any case, I'm not sure what such a pragma would buy you. The ordering of evaluation would still be inherently unordered. BTW, in thinking about it further, I realize that Dan is going to have to tackle this issue anyway. There's fundamentally no difference in the exigencies of: $junction = $x | $y | $z; foo($junction); # Call foo($x), foo($y), and foo($z) # in parallel and collect the results # in a disjunction and $junction = &f | &g | &h; $junction($x); # Call f($x), g($x), and h($x) # in parallel and collect the results # in a disjunction Damian