For socket errors on Win32 Perl, you want 0+$! not just $! (which will always be "unknown error", which is useless).
- tye
In reply to Re: IO::Socket::INET fails in rare cases on Windows (0+$!)
by tye
in thread IO::Socket::INET fails in rare cases on Windows
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |