Hi monks,
Just Its a simple question...
Can anyone tell me how to set the Prompt value in NET::TelNet
use Net::Telnet.
my $telnet = Net::Telnet->new(Host=>'hostname',Prompt=>'/[%#>] $/');
$telnet->open('host');
$telnet->login('user', 'Passwd');
print $telnet->cmd('who');
I want to connect to the remote ip address(host)...
Always i am getting "Timed out waiting for login prompt at line no 4.....
How to correct to prompt regexp for windows.....
I will be pleased if you give any suggestions regarding this.....
Thanks.....