Binary package “libdevice-serialport-perl” in ubuntu bionic

emulation of Win32::SerialPort for Linux/POSIX

 Device::SerialPort provides an object-based user interface essentially
 identical to the one provided by the Win32::SerialPort module. This
 provides device-level access to a system's serial port.
 .
 Also included is modemtest -- a tool for examining your modem using
 Device::SerialPort.