I have a program that uses threads. And within these threads I tried to call a subroutine by simply calling &sendxml. When I do this the program does not call the subroutine and continues through the thread. Why is this? Is this a known issue? The thread is started by: my $recv = threads->new(\&recvxml);