If ls works (presuming that means several screens worth of data) but the 'flow' command does not and starts paging it is an issue of the interaction between flow and the Net::Telnet virtual tty. I presume that the flow command automatically pages if it detects a (screen/buffer) full of data has been written. I suspect that increasing the size of the Net::Telnet buffer (so it is large enough to accept all the expected data++) may fix the problem $obj->max_buffer_length(BIG_NUM)
Also note that there is an example in the docs that shows how to copy a big file, so if the previous suggestion does not work perhaps just redirect the flow output to a file and then read from that. Other options to consider are the getlines() method.
cheers
tachyon
In reply to Re: problem with net::telnet moduleand STDOUT
by tachyon
in thread problem with net::telnet moduleand STDOUT
by nigels
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |