[Chicago-talk] Can anyone give me a hand getting Net::Google::Search to work?

Richard Reina richard at rushlogistics.com
Tue Nov 23 14:25:07 PST 2021


Rats anyone one know of another way to use Perl to automate a google search? 

Sent from my iPhone

> On Nov 23, 2021, at 4:07 PM, Alan Mead <amead at alanmead.org> wrote:
> 
> I don't think Google offers this anymore:
> 
> https://rt.cpan.org/Public/Bug/Display.html?id=53447
> 
>> On 11/23/2021 3:48 PM, Richard Reina wrote:
>> use strict;
>> use Net::Google::Search;
>> 
>> my %args = (
>> 
>> key => 'MyGoogleAPIKey',
>> starts_at => 0,
>> max_results => 5,
>> 
>> );
>> 
>> my $search = Net::Google::Search->new(\%args);
>> 
>> Executing this code I get:
>> 
>> 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
>> 
>>  _______________________________________________
>> Chicago-talk mailing list
>> Chicago-talk at pm.org
>> https://mail.pm.org/mailman/listinfo/chicago-talk
> 
> -- 
> 
> Alan D. Mead, Ph.D.
> President, Talent Algorithms Inc.
> 
> science + technology = better workers
> 
> https://talalg.com
> 
> 
> Murphy's law: Anything that can go wrong will go wrong.
> 
> 
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> https://mail.pm.org/mailman/listinfo/chicago-talk
> 



More information about the Chicago-talk mailing list