mnlight has asked for the wisdom of the Perl Monks concerning the following question:
my $th = new Net::Telnet (input_log => "$dir/$log", dump_log => (*STDOUT), Host => "$server", Prompt => '/sybase?/'); print "******DUMPING $cltdb TRANSACTION******\n"; $th->login("user", "$unixpass"); my @lines = $th->cmd("backup.pl Server.Name=$dbsrvr Backup.Database=$c +ltdb Backup.Type=tran"); $th->waitfor('/ /'); print @lines; $th->waitfor('/sybase?/'); print @lines;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::Telnet time outs
by peschkaj (Pilgrim) on Aug 12, 2002 at 22:37 UTC | |
by mnlight (Scribe) on Aug 13, 2002 at 16:27 UTC | |
by Rex(Wrecks) (Curate) on Aug 13, 2002 at 17:29 UTC | |
by mnlight (Scribe) on Aug 13, 2002 at 20:14 UTC | |
by Rex(Wrecks) (Curate) on Aug 13, 2002 at 23:32 UTC | |
| |
|
Re: Net::Telnet time outs
by Rex(Wrecks) (Curate) on Aug 12, 2002 at 22:22 UTC |