Device::SerialPort is a perl module that provides a simple interface to serial ports and their settings (baud rate, word length, etc). WWW: https://metacpan.org/release/Device-SerialPort