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


in reply to Basic Socket Help

Closing $new_sock as well might make a difference. Also, I've been getting into the habit of doing undef on any socket variables, though I admit to not knowing why I do that - I just see a lot of code doing that after they close the socket. If anybody would like to set me straight on if that does anything useful, and if so why, I'd be glad. :)
You have moved into a dark place.
It is pitch black. You are likely to be eaten by a grue.