HI All,
I am using win32::serialport module to send one command (hfdial)
to the COM1 port .How ever the script is running fine for first time but
when i m trying to run it second time then i am getting a message like
baud from configuration: 115200
Buffer Overrun detected
result =
..
This is my code
use strict;
use Win32::SerialPort;
my $ob = Win32::SerialPort->start ("modem.cfg") || die;# modem.cfg is the
configuration file
my $baud = $ob->baudrate;
print "baud from configuration: $baud\n";
$ob->write("hfdial 9890300719\r");
sleep 1;
my $result = $ob->input;
print "result = $result\n";
Thanks in Advance
Swayam
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>