in reply to telnet question

A good place to start is the threading tutorial I guess, as well as the Net::Telnet documentation.

An alternative might be POE, that's a matter of taste. It comes with POE::Component::Client::Telnet.

Replies are listed 'Best First'.
Re^2: telnet question
by erroneousBollock (Curate) on Nov 14, 2007 at 23:16 UTC
    Since Net::Telnet isa IO::Socket::INET, you can probably also use IO::Select to multiplex many simultaneous connections, without fork() or threads.

    I haven't investigated this though.

    -David

      So your saying Net::Telnet anf IO::Select would be the the one i use and fork?if i got this right.
        No, you would not normally use IO::Select and fork() together. The three main approaches to parallel communications are:
        • threaded: use threads;
        • forking: fork()
        • multiplexed: useIO::Select;

        As I said above, I don't know for sure that you could get Net::Telnet to work with IO::Select (it has to do with buffering).

        -David