Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use Net::Telnet(); $t = new Net::Telnet (Timeout => 30, Errmode => 'return', Prompt => '/> $/'); $t->open("10.30.201.225"); @lines = $t->cmd("/"); #Fails with a time out message # @lines = $t->cmd("menu"); Works but isn't an option on most of the p +rinters in the environment. print @lines;
2005-10-12 Retitled by planetscape, as per Monastery guidelines
Original title: 'Net::Telnet'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Sending a slash ('/') with Net::Telnet
by jcoxen (Deacon) on Oct 11, 2005 at 21:05 UTC | |
by Anonymous Monk on Oct 11, 2005 at 21:33 UTC |