Device::SerialPort is a perl module that provides a simple interface to serial ports and their settings (baud rate, word length, etc).