IM Chat using Perl

Gabor Szabo szabgab at gmail.com
Mon Mar 14 09:54:20 EDT 2011


Using the signals-test.pl example in the Pidgin distribution I can now
get a signal when someone sends me an IM.

Unfortunately I have not yet figured out how to send an IM.
Neither as a response to the received IM message nor as an initiated IM.

The signal handler looks like this:

sub conv_received_msg
{
	my ($account, $sender, $message, $conv, $flags, $data) = @_;
...
}

>From the $account  I can get the connection object using

my $con = $account->get_connection;

but I am not sure how to go on.

Your help would be appreciated.

Gabor




More information about the Devel mailing list