Hi, i'm trying to develop a Perl plugin to retrieve the list of my
buddies that are online and i was trying something like:
my $protocol =
my $account_name = "my_account";
$account = Gaim::Accounts::find($account_name,
@buddy_array = Gaim::Find::buddies($account,
Gaim::Debug::info("testplugin", "Buddies in list (" .
@buddy_array . "): \n");
foreach $bud (@buddy_array)
Gaim::BuddyList::Buddy::get_name($bud) . "\n");
... provided that "my_account" is a valid and logged in
yahoo account and LIST is a valid handle to a file opened for
writing ... i always obtain an empty list (@buddy_array is
Note that i almost copied the example found on gammu's wiki...
What i'm doing wrong?
Thanks in advance