ollyg/Net-CLI-Interact — pull request #11 by doverton (2012-12-10 10:33:09+00:00)
Title: Remove redundant Net::Telnet->open()

The constructor in Net::Telnet already calls open() if the Host
parameter has been passed in. In addition, the constructor already dies
if it fails to connect.

This additional call to open() causes some Cisco devices (an old 2900XL
in my case) to close the new connection immediately after connect. We then get
stuck in an infinite loop in Net/CLI/Interact/Role/Prompt.pm:find_prompt()