use WWW::Google::Contacts; my $google = WWW::Google::Contacts->new( username => "your.username", password => "your.password" ); my $group = $google->new_group; $group->title("Lovers");
Writes the group to your Google account.
Fetches group details from Google account.
Updates existing group in your Google account.
Deletes group from your Google account.
Creates or updates group, depending on if it already exists
All these attributes are gettable and settable on Group objects.
The title of the group
$group->title("People I'm only 'friends' with because of the damn Facebook");
An array of members of the group
foreach my $member (@{ $group->member }) { print $member->full_name . " is a member of the group.\n"; }
Magnus Erixzon <magnus@erixzon.com>
This software is copyright (c) 2010 by Magnus Erixzon / Fayland Lam.
This is free software; you can redistribute it and/or modify it under the same terms as perl itself.
To install WWW::Google::Contacts, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Google::Contacts
CPAN shell
perl -MCPAN -e shell install WWW::Google::Contacts
For more information on module installation, please visit the detailed CPAN module installation guide.