"Damian Conway" <[EMAIL PROTECTED]> wrote > >    my $file = open "error.log"
& "../some/other.log"; # I hope this is legal
>
> Under my junctive semantics it is. It simply calls C<open> twice, with
> the two states, and returns a conjunction of the resulting filehandles.
> Though you probably really want a *dis*junction there.

The thing that's worrying me is: what happens when one of them throws an
exception? Can I catch half of the junction? Do the two threads ever join?
Does the exception get deferred until after all the threads have completed?
If both throw an exception: what happens then?


Dave.


Reply via email to