![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re: thread wont call subroutineby carlin (Beadle) |
on Jun 02, 2009 at 22:20 UTC ( #767804=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|