in reply to Cisco Telnet

Just change errmode() to "return". See the section "What To Know Before Using" in the Net::Telnet documentation.