Net::OICQ is a Perl module that implements an object-oriented interface to QQ instant messaging protocol. It requires two Perl modules, Digest::MD5 and Crypt::OICQ. Net::OICQ class provides methods to connect to a QQ server, and send commands to other QQ users via the server.
Net::OICQ::ServerEvent class provides methods to parse messages received from the server.
Net::OICQ::ClientEvent class provides methods to process messages sent from a client.
Net::OICQ::TextConsole class is an example of using the above classes for a command-line interface.
SYNOPSIS
use Net::OICQ;
$oicq = new Net::OICQ;
$oicq->login($qqid, $passwd, "Invisible", "tcp", $proxy);
# or
# $oicq->login($qqid, $passwd, "Invisible", "udp");
$oicq->send_msg("52482796", "Hello");
my $resp = $oicq->timed_recv(1024, 5);
print unpack("H*", $resp), "\n";
$oicq->logout;
Product's homepage
Requirements:
· Perl