I would like to use Perl Net::Telnet to access a switch, but the "enter return to continue" for paging down, makes the script stall. I'm using $prompt = $obj->last_prompt;" to find out where I am, but Net::Telnet seems to parce the output and stalls at the "more" scroll feature. Is Expect better to use to access a generic switch interface? Or is there a way to get Net:: Telnet to work?
Thanks, Allan
Start Free Trial