Subject: | Multiple do not seem to work |
Running:
my $google1 = WWW::Google::Contacts->new(username => 'x@gmail.com', password =>
...);
my $google2 = WWW::Google::Contacts->new(username => 'y@gmail.com', password =>
...);
yields an error like following:
Singleton is already initialized at /home/sterling/perl5/perlbrew/perls/perl-
5.12.1/lib/site_perl/5.12.1/MooseX/Singleton/Role/Object.pm line 14
MooseX::Singleton::Role::Object::initialize('WWW::Google::Contacts::Server',
'HASH(0xb4c8c00)') called at /home/sterling/perl5/perlbrew/perls/perl-
5.12.1/lib/site_perl/5.12.1/WWW/Google/Contacts.pm line 40
WWW::Google::Contacts::BUILD('WWW::Google::Contacts=HASH(0xadbc320)',
'HASH(0xac2f330)') called at generated method (unknown origin) line 46
WWW::Google::Contacts::new('WWW::Google::Contacts', 'password', '...', 'username',
'y@gmail.com') called at ./google-contact-script line 18