Hello all,
I am using perl net::telnet to login remote switches by
$t->open($device );
$t->login($usernam e, $password);
and everything goes on very well.
The problem is that now I have to telnet another switch that doesn't have a username prompt...which means only $password is needed when login...
but so far as i know that both username and pw are parameters of Telnet.pm login()....How can I login such kind of switch?
Thanks a lot!
I am using perl net::telnet to login remote switches by
$t->open($device );
$t->login($usernam e, $password);
and everything goes on very well.
The problem is that now I have to telnet another switch that doesn't have a username prompt...which means only $password is needed when login...
but so far as i know that both username and pw are parameters of Telnet.pm login()....How can I login such kind of switch?
Thanks a lot!
Comment