in reply to How to grab the telnet screen output?

You could try to grab the contents with Net::Telnet and parse them. Send an a to the server, parse the response, go back to the main menu, send a b, parse the response and so on.