in reply to Re^5: How to get right data from COM1 using Win32::SerialPort
in thread How to get right data from COM1 using Win32::SerialPort

Hi,

I had the same pb.
solution: suppress 0D0A when appears :
($countIn, $binData) = $portCom1->read (1); $binData =~ s(\x0D\x0A)(\x0A)g;
As the problem does not appear when 0D is sent, there is no risk to destroy "good" 0D

bye