Jerry,
--- "Jerry D. Hedden" <[EMAIL PROTECTED]> wrote:
[...]
> I think it would be simpler just to have an ->err() method
> that could be called after (or even before) a thread is
> joined:
>
> my $result = $thr->join();
> if ($thr->err()) {
> die('Thread error: ' . $thr->err());
> }
>
That sounds pretty good. One thing to watch for is that blessed
references can also be propegated by $thr->err(), so OO results (like
those returned by Exception::Class and Error) will survive the trip
across threads.
-Eric