Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Google::Search error

by tallwithblueeyes (Novice)
on Nov 13, 2013 at 13:12 UTC ( #1062384=perlquestion: print w/replies, xml ) Need Help??
tallwithblueeyes has asked for the wisdom of the Perl Monks concerning the following question:

I have ActiveState Perl 64-bit v5.16.3 installed in Windows. When I use the module Google::Search, I get this error: overload arg '' is invalid at C:/Perl64/site/lib/Google/Search/ line 9. Any ideas on how to get around this?

Replies are listed 'Best First'.
Re: Google::Search error
by toolic (Bishop) on Nov 13, 2013 at 13:19 UTC
      It does this without any code at all! use Google::Search; is all it takes to throw the error. The module seems to be installed correctly.
        I just installed Module Version: 0.028, and I don't get the error you get when I use Google::Search;. However, the POD has this:
        Google::Search - Interface to the Google AJAX Search API and suggestio +n API (DEPRECATED) NOTE: The Google AJAX Search API has been deprecated:
        Its a bug in the module,
        $ perl -e " use overload '' => sub{}; " $ perl -e " use warnings; use overload '' => sub{}; " overload arg '' is invalid at -e line 1. $ perl -we " use overload '' => sub{}; " overload arg '' is invalid at -e line 1.
        Its supposed to be  '""'
        If, as stated, it were "...(doing) this without any code at all!" there would be no reference to Ln 9 as the error source. Recheck your premises.
Re: Google::Search error
by astroboy (Chaplain) on Nov 13, 2013 at 20:16 UTC
    I receive the same error with Strawberry Perl However, the failures occur in the tests, so I would log a bug against the module

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1062384]
Approved by toolic
Front-paged by toolic
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2017-12-11 02:36 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (286 votes). Check out past polls.