I've the following requirement: 1) telnet to machine x on telnet port. 2) once you are in machine x, telnet to machine y on a different port. 3) now issue the commands to machine y and get the output.
I cannot use expect on both these machines.
How do i achieve this in perl? I should be able to read the output of commands issued to machine y by being in machine x.
Thanks in advance.