NET:TELNET printing to screen

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I've been using the NET:TELNET module to connect to a server and then

run some commands. Currently I just print certain command outputs after

they finish, but I wanted to print the data stream as it's coming back

from the execution. This is roughly how I have it implemented.

my @output = $telnet->cmd(String => "DO_THIS");
print @output ;

Normally this would be fine, but the one command I want to print to the

screen as it is running takes a few minutes to a few hours to run, so

waiting for it come up on the screen begs the question "did it process

Thanks for any help you can give.




Posted via



Site Timeline