http://qs1969.pair.com?node_id=767804


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.