gasho has asked for the wisdom of the Perl Monks concerning the following question:
I am getting timed-out waiting for command prompt at C:\InstallV3\Test.pl line 5. Any Clue why ? thanks
use Net::Telnet; $telnet = new Net::Telnet ( Timeout=>35,Prompt => '/ksh\$ $/'); $telnet->open('sunspot'); $telnet->login('snuppy', 'snuppy_dog'); @lines = $telnet->cmd('who'); print @lines; $telnet->close;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: use Net::Telnet timed-out waiting for command prompt
by blue_cowdawg (Monsignor) on Nov 17, 2005 at 17:34 UTC | |
by gasho (Beadle) on Nov 17, 2005 at 18:49 UTC | |
Re: use Net::Telnet timed-out waiting for command prompt
by Anonymous Monk on Nov 17, 2005 at 17:41 UTC |
Back to
Seekers of Perl Wisdom