in reply to Re: win32::serial port
in thread win32::serial port

the interface isn't very good

How so? It uses the standard Perl IO interface (print $comm $data;) and some setters/getters to set/query communication settings.

I also didn't see anything having to do with flushing.

Why would expect it to be buffered?

Replies are listed 'Best First'.
Re^3: win32::serial port
by lostjimmy (Chaplain) on Oct 30, 2008 at 14:44 UTC
    How so?
    I guess I would want something a little more akin to IO::Socket::Inet. Otherwise, it's fine.
    Why would expect it to be buffered?
    I did not expect it to be buffered, but it was asked in the question how one could flush the serial port. Usually what I've seen is that people want to flush the rx buffer to get rid of any remaining bytes after reading the current message.