# All the information Purple gets about our nifty plugin
%PLUGIN_INFO=(
perl_api_version=>2,
name=>"Perl: $MODULE_NAME",
version=>"0.1",
summary=>"Test plugin for the Perl interpreter.",
description=>"Implements a set of test proccedures to ensure all functions that work in the C API still work in the Perl plugin interface. As XSUBs are added, this *should* be updated to test the changes. Furthermore, this will function as the tutorial perl plugin.",
author=>"John H. Kelm <johnhkelm\@gmail.com>",
url=>"http://sourceforge.net/users/johnhkelm/",
load=>"plugin_load",
unload=>"plugin_unload"
);
# These names must already exist
my$USERNAME="johnhkelm2";
# We will create these on load then destroy them on unload
my$TEST_GROUP="UConn Buddies";
my$TEST_NAME="johnhkelm";
my$TEST_ALIAS="John Kelm";
my$PROTOCOL_ID="prpl-aim";
subplugin_init{
return%PLUGIN_INFO;
}
# This is the sub defined in %PLUGIN_INFO to be called when the plugin is loaded
# Note: The plugin has a reference to itself on top of the argument stack.
subplugin_load{
my$plugin=shift;
# This is how we get an account to use in the following tests. You should replace the username