in reply to Re^4: How to send long sting Device::SerialPort
in thread How to send long sting Device::SerialPort

One more thing: you probably can replace the
my $ob = Device::SerialPort->new($PORT) || die;
With just the tie (eschewing the config file):
my $ob = tie (*FH, 'Device::SerialPort', $PORT) || die;
Untested though.