in reply to Managing TERM TYPE Option Requests with Net::Telnet
Yup, you're missing a vital call.. It seems that Net::Telnet does in fact use IO::Sockets. You need to add something like:
i.e. you need to tell N::T::O to actually do some parsing. What I'm not to sure of, is how you get the raw data out of Net::Telnet. It looks to me like you want to use $t->buffer, and set telnet_mode => 0, but I haven't tried it.$data = $nto->answerTelnetOpts($t, $data);
C.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Managing TERM TYPE Option Requests with Net::Telnet
by initself (Monk) on Aug 16, 2006 at 02:31 UTC | |
by castaway (Parson) on Aug 16, 2006 at 08:19 UTC |
In Section
Seekers of Perl Wisdom