http://qs1969.pair.com?node_id=509482

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;