Quoting "Blackstone, J. David" <jda...@ci...>:
> I couldn't seem to get Net::Telnet to work with Expect. Any
> pointers?
What did you try? I'd create a new Net::Telnet object and use Expect-
>exp_init() to get an Expect object connected to the telnet connection.
Should work...
> Alternatively, it has since occurred to me that just creating a
> socket (or IO::Socket) would probably work just as well and would
> also avoid spawning a process.
Yes, but then you would have to do the initial telnet handshake by
hand, which is why Net::Telnet was written...
Roland
--
RGi...@cp...
|