in reply to net telnet cisco; how to handle unable to connect

I think it's cause you're settingthe error mode too late. Try

$cs = Net::Telnet::Cisco->new( Timeout => 3000, Host => $router_IP, Errmode => "return", );