Subject: | WebService::ISBNDB::API |
Date: | Sat, 28 Nov 2015 18:20:17 +0200 |
To: | bug-WebService-ISBNDB [...] rt.cpan.org |
From: | Daniel Ibn Zayd <daniel.ibnzayd [...] inquisitor.com> |
Similar problem as listed before....I was hoping to move from HTTP::Request to do this....
SCRIPT:
my $handle = WebService::ISBNDB::API->new({
protocol => 'REST',
api_key => 'key',
});
my $books = $handle->search(Books => { title => 'Perl Hacks' });
while (my $book = $books->next) {
say $book->get_title;
say join ', ', $book->get_authors;
}
ERROR:
.../perl5/site_perl/5.22/WebService/ISBNDB/API.pm:231: Use of uninitialized value in uc
[14 times]
.../perl5/site_perl/5.22/WebService/ISBNDB/Agent/REST.pm:226: Service error: Invalid access_key parameter provided
VERSION:
This is perl 5, version 22, subversion 0 (v5.22.0) built for darwin-thread-multi-2level
Mac, Snow Leopard, 10.6.8
Thank you!