in reply to Re: Net telnet Cisco Login
in thread Net telnet Cisco Login

Thanks for the reply moritz, The problem I having is due to compilation errors within my IF statement, I will have to tell it when it is equal to something then login in using method 1 else use method 2:

if (login=???){$conn->login( Name => $username, Password => $password); } else {$conn->login( Passcode => $passw); };

I am hitting a brick wall with this if statement, Thanks again for the quick reply