Magnus Erixzon > WWW-Google-Contacts > WWW::Google::Contacts::Group

Download:
WWW-Google-Contacts-0.38.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View/Report Bugs
Module Version: 0.38   Source  

SYNOPSIS ^

    use WWW::Google::Contacts;

    my $google = WWW::Google::Contacts->new( username => "your.username", password => "your.password" );

    my $group = $google->new_group;
    $group->title("Lovers");

METHODS ^

$group->create

Writes the group to your Google account.

$group->retrieve

Fetches group details from Google account.

$group->update

Updates existing group in your Google account.

$group->delete

Deletes group from your Google account.

$group->create_or_update

Creates or updates group, depending on if it already exists

ATTRIBUTES ^

All these attributes are gettable and settable on Group objects.

title

The title of the group

 $group->title("People I'm only 'friends' with because of the damn Facebook");
member

An array of members of the group

 foreach my $member (@{ $group->member }) {
   print $member->full_name . " is a member of the group.\n";
 }

AUTHOR ^

 Magnus Erixzon <magnus@erixzon.com>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: