in reply to Re: Google Provisioning API - method not found
in thread Google Provisioning API - method not found

print ref $gmail;
gives me...
VUser::Google::ProvisioningAPI::V2_0
BUT..... I think I just figured it out myself.
I had a closer look at the module source, and this is what it looks like:
=pod RetrievePageOfEmailLists($startList) =over Get a single page (100 lists) of email lists. =cut =cut sub RetrievePageOfEmailLists { my $self = shift; my $start_emaillist; my $url = GOOGLEBASEURL.$self->{domain}."/emailList/$APIVersion"; if ($start_emaillist) { $url .= "?startEmailListName=$start_emaillist"; } my @entries = (); if ($self->Request('GET', $url)) { foreach my $entry (@{ $self->{result}{'entry'} }) { push @entries, $self->buildEmailListEntry($entry); } } else { return undef; } # Return list of EmailListEntries return @entries; }
Notice that extra =cut in there?
I tried commenting that out, and bingo!