rootstock has asked for the wisdom of the Perl Monks concerning the following question:
after a quite long time (about 5 minutes), program printed out following message.use Device::Modem; my $modem = new Device::Modem( port => '/dev/ttyS1' ); if( $modem->connect( baudrate => 9600 ) ) { print "connected!\n"; } else { print "sorry, no connection with serial port!\n"; } # when program running at this line, return connected!, $modem->attention(); # send `attention' sequence (+++) $modem->dial('02270469012'); # dial phone number #when program running at this line was halted
no any noise happened at the modem. seems just halting.print " dial number was sent \n";
20030519 Edit by Corion Fixed code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: modem question
by teabag (Pilgrim) on May 19, 2003 at 14:03 UTC | |
by rootstock (Novice) on May 20, 2003 at 03:31 UTC | |
|
Re: modem question
by zby (Vicar) on May 19, 2003 at 13:13 UTC |