Belgarion has asked for the wisdom of the Perl Monks concerning the following question:
I am running into a problem with differences between Device::SerialPort under Linux and Win32::SerialPort under Windows. Specifically, the read() method seems to differ under both.
For example, using Device::SerialPort under Linux, the call:
returns immediately, while under Win32::SerialPort, the call blocks forever.# $port is a Device::SerialPort object $port->read(1);
Does anyone know of a way around this? I prefer the Device::SerialPort semantics. Can Device::SerialPort be used successfully under Windows? Are there other differences between the two modules?
Thank you for your time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Difference Between Device::SerialPort and Win32::SerialPort
by PodMaster (Abbot) on Apr 16, 2004 at 02:32 UTC | |
by Belgarion (Chaplain) on Apr 16, 2004 at 03:18 UTC |