http://qs321.pair.com?node_id=665515


in reply to Using IO::Socket to login to a server

It's hard to say without knowing the protocol.
Is it telnet?
If so, how about Net::Telnet
or
IO::Socket::Telnet
?
You can pick these up on Cpan.