AOL::TOC - Perl extension for interfacing with AOL's AIM service
use AOL::TOC; $toc = AOL::TOC::new($toc_server, $login_server, $port, $screenname, $password); $toc->connect();
This module implements SFLAP, which I presume to be AOL's authenticiation protocol, and TOC, which is the actual "meat" of the AIM protocol.
connects to the AIM server
This function takes two arguments, the EVENT and the subroutine reference. Callbacks are similar to the ones found in Net::IRC. The module defines several AIM "events": ERROR, CLOSED, SIGN_ON, IM_IN, CHAT_IN, UPDATE_BUDDY. These events can be bound to subroutines.
This flushes all messages to the server, and retreives all current messages.
Takes one arguement, the nick of the buddy. This adds a buddy to your buddy list.
Takes two arguments, the name of the buddy and the name of the message, and sends the IM.
Takes one argument, the name of the buddy, and returns the info.
Takes one argument, the name of the chat room to join
Takes two arguments, the name of the chat room, and the message.
xjharding@newbedford.k12.ma.us cleaned it up and added DOC james@foo.org was the original author
Net::AIM, a new module, but it doesn't have the features of this one
To install AOL::TOC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AOL::TOC
CPAN shell
perl -MCPAN -e shell install AOL::TOC
For more information on module installation, please visit the detailed CPAN module installation guide.