in reply to mention a non-installed module in script

site:perlmonks.org Win32::SerialPort Device::SerialPort $^O
Platform-independent Serial Port code
Accessing Serial port on windows and Linux
use Perl::OSType qw' is_os_type '; use if is_os_type('Windows'), qw' Win32::SerialPort '; use if not is_os_type('Windows'), qw' Device::SerialPort ';