In my testing, I saw some spurious \r (carriage return) characters -- that may have been due to my use of a telnet client. A simple tr/\r//d; before the chomp fixed it for me.print $client "Thank you for your command: ->$_<-\n"; print OUT "->$_<-\n";
In reply to Re: File I/O while using Sockets?
by chromatic
in thread File I/O while using Sockets?
by jgallagher
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |