For portability, you shouldn't be using "\r\n" - this expands to different characters on different platforms; you should use "\015\012" instead.
I'm not sure why you're losing the \r; it may be a binmode() thing depending on what platform you're using.
Dave.
In reply to Re: Problems with IO::Socket::INET
by dave_the_m
in thread Problems with IO::Socket::INET
by scottknight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |