Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 sharing their wisdom with the Monastery: (4)
As of 2024-04-25 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found