in reply to Re: Use thread with good care, but definitely keep using it
in thread Use thread with good care, but definitely keep using it

Agreed.

Of course there are situations threading is the best solution. (The only reason I particularly mentioned IO::Select, is just a direct thought concerning that thread I mentioned in my original post.)

I think, whenever threading might be a good solution, we should give it a try. At the same time, design carefully. Perl thread is still experimental, but if nobody use it, how can we gather results, gain experience, and provide constructive feedback to the the designers of Perl (itself).

I expect lots of different replies to this post, some might even sound directly against each other. But if we consider the fact that, each reply has a different focus, you would realize that those differences actually support each other, help to form the entire picture.

Agree with you that, just like any other tools or functions in Perl, you have to use it wisely to resolve the "right" problems.

  • Comment on Re: Re: Use thread with good care, but definitely keep using it