in reply to net::telnet not behaving as expected
instead. The example in the Net::Telnet documentation uses a command (who) that returns several lines, that's why it's using an array. But you don't need to, because you're running a command that returns only one line.my $unamestring = $t->cmd("uname -a");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: net::telnet not behaving as expected
by tsk1979 (Scribe) on Mar 22, 2006 at 17:05 UTC | |
by wazoox (Prior) on Mar 22, 2006 at 21:17 UTC | |
by tsk1979 (Scribe) on Mar 23, 2006 at 06:18 UTC |