in reply to $threads->join() only returns one argument??? BUG?
But you have pointed an interesting point, since it should return all the list! I never come to this problem, that is a bug, or at least not documented!use threads; my $t = threads->create( sub{ sleep 3; return([qw(a b c)]) ; } ); my $ret = ($t->join) ; print ">> @$ret\n" ;
Have you posted this to PerlBug? http://rt.perl.org/perlbug/
Graciliano M. P.
"The creativity is the expression of the liberty".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: $threads->join() only returns one argument??? BUG?
by rr (Sexton) on Jun 12, 2003 at 13:30 UTC |