in reply to MultiThreaded Program in perl

-How I can access the child threads from the Main thread?

No one has mentioned using threads shared variables, and the fact that you can share filehandles between the main thread and children by passing the fileno of the filehandle. See Simple threaded chat server for an example of this.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh