Subject: | Problem creating record in contacts |
Date: | Tue, 13 Jul 2010 22:45:21 +0100 |
To: | bug-WWW-Google-Contacts [...] rt.cpan.org |
From: | Peter Collard <peter [...] glossop.org> |
Ubuntu 10.04 Desktop:
$$$ uname -a
Linux peter 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC
2010 x86_64 GNU/Linux
$$$ perl -v
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
The following simple code doesn't seem to work. If I change the login I
get an authentication error - so it appears I'm authenticating ok, but
no record gets added:-
#! /usr/bin/perl
use WWW::Google::Contacts;
my $google = WWW::Google::Contacts->new( username => 'xxxxxx@gmail.com',
password => 'xxxxx' );
my $contact = $google->new_contact;
$contact->full_name('Peter Collard');
$contact->email('peter@glossop.org');
$contact->create;