"be consistent" | |
PerlMonks |
Re^3: How can I test TCP socket status in Perl?by tangent (Parson) |
on Jul 26, 2015 at 23:56 UTC ( [id://1136383]=note: print w/replies, xml ) | Need Help?? |
If $sock is not defined you are not connected, so you should test for that as well:
In Section
Seekers of Perl Wisdom
|
|