Had the same issue with time out waiting for confirm. Found this to work for me.
$session->cmd("clear line $port\n"); #$session->prompt("/\[confirm\]/"); $session->print("\n"); $session->print("\n"); $session->prompt("/OK/");
In reply to Re^5: Net::Telnet::Cisco and Terminal Server
by Anonymous Monk
in thread Net::Telnet::Cisco and Terminal Server
by perldragon80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |