http://www.perlmonks.org?node_id=1004514


in reply to Bad file Descriptor issue in IO::Socket::INET

prashantktyagl:

You don't show any code, so it's hard to tell.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: Bad file Descriptor issue in IO::Socket::INET

Replies are listed 'Best First'.
Re^2: Bad file Descriptor issue in IO::Socket::INET
by prashantktyagi (Scribe) on Nov 19, 2012 at 11:31 UTC
    Hi..roboticus
    Thanks for quick reply.

    I can show the code but it is too long. This script generates service build using perlsvc. It is written in perl. The code I mentioned checks the port checking if this port is active.

      "I can show the code but it is too long."

      Create a short script which purely reproduces the problem you are experiencing. How do I post a question effectively?. Earlier:

      "It was working fine before then I did some changes to it and rebuild this"

      What have you done to determine if the code change introduced this problem? Basic debugging checklist