Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: thread wont call subroutine

by carlin (Beadle)
on Jun 02, 2009 at 22:20 UTC ( [id://767804]=note: print w/replies, xml ) Need Help??


in reply to thread wont call subroutine

I'll take a stab in the dark here; are you sure the thread isn't running the subroutine but the program is exiting before it completes?

Try calling $recv->join; below your thread declaration.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found