in reply to Net::Telnet time outs
I had a fair number of problems like this with some telnetting between HP-UX and SUN boxes. The best thing (I found) to look for is the final prompt character, rather than the whole prompt string. The perldocs for Net::Telnet are quite extensive in the newest version (I have it with my perl 5.8.0 build) and they are a great help.my $th = new Net::Telnet (input_log => "$dir/$log", dump_log => (*STDOUT), Host => "$server", Prompt => '/sybase?/', Timeout => 600); ### A timeout of 600 will give you 10 minutes ### to wait for the processes to complete remotely
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Net::Telnet time outs
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 | |
by mnlight (Scribe) on Aug 14, 2002 at 14:58 UTC | |
|