http://www.perlmonks.org?node_id=672959


in reply to Re: Marrying Tk, threads and SerialPort - a COM port monitor
in thread Marrying Tk, threads and SerialPort - a COM port monitor

I ended up despairing with the SerialPort module. It's too badly documented, and threads work too slowly with Tk.

I've rewritten this as a pair of a small C++ program that bridges the serial port to/from a socket, and Perl module that uses that socket to communicate. It's available for download here (compiled for Windows, but with source code):

  • Comment on Re^2: Marrying Tk, threads and SerialPort - a COM port monitor