为什么 Perl Net::Google::Search 对我来说失败了?
Why does Perl Net::Google::Search fail for me?
我在 Net::Google::Search
工作时遇到以下问题。我从 google 获得了一个 API 密钥,所以我假设我尝试使用的是copacetic。
use strict;
use Net::Google::Search;
my %args = (
key => 'MyGoogleAPIKey',
starts_at => 0,
max_results => 5,
);
my $search = Net::Google::Search->new(\%args);
执行这段代码我得到:
Use of uninitialized value in concatenation (.) or string at /home/richard/perl5/lib/perl5/Net/Google/Service.pm line 80.
Service description 'file:' can't be loaded: 404 File `' does not exist
根据this ticket的说法,Net::Google::Search使用的API从2009年就已经死了,甚至从2005年就无法安装模块了。
我不知道这是否是您面临的问题,但没关系。使用该模块您将一事无成。
我在 Net::Google::Search
工作时遇到以下问题。我从 google 获得了一个 API 密钥,所以我假设我尝试使用的是copacetic。
use strict;
use Net::Google::Search;
my %args = (
key => 'MyGoogleAPIKey',
starts_at => 0,
max_results => 5,
);
my $search = Net::Google::Search->new(\%args);
执行这段代码我得到:
Use of uninitialized value in concatenation (.) or string at /home/richard/perl5/lib/perl5/Net/Google/Service.pm line 80.
Service description 'file:' can't be loaded: 404 File `' does not exist
根据this ticket的说法,Net::Google::Search使用的API从2009年就已经死了,甚至从2005年就无法安装模块了。
我不知道这是否是您面临的问题,但没关系。使用该模块您将一事无成。