in reply to maximum result size for Net::Telnet's cmd() method
with 'your_stuff' being what you are looking for in the command. I found this in the the Network Programming with Perl book by Lincoln Stein. A quite handy book by the way. Hope this helps.$t->print("ps -elf"); @ps = $t->waitfor('/your_stuff/');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: maximum result size for Net::Telnet's cmd() method
by idsfa (Vicar) on Jun 12, 2006 at 14:31 UTC |