Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: $threads->join() only returns one argument??? BUG?

by Chmrr (Vicar)
on Jun 12, 2003 at 03:39 UTC ( [id://265269]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $thr = threads->new( sub { return (1,2,3) });
    my @a = $thr->join();
    print "return is @a\n";
    
  2. or download this
    my ($thr) = threads->new( sub { return (1,2,3) });
    my @a = $thr->join();
    print "return is @a\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://265269]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-12-06 04:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (39 votes). Check out past polls.