Have you read the Net::Telnet debugging advice?
In your code, you have
if ($telnet->waitfor('/#/i')) { ...
But in the example session, there is no # character. Is that maybe the problem?
In reply to Re: Cannot get enable> mode to work
by Corion
in thread Cannot get enable> mode to work
by ArifS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |