Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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/Error.pm line 9. Any ideas on how to get around this?

Comment on Google::Search error
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: http://developers.google.com/web-search/docs/
        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.
        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  '""'
Re: Google::Search error
by astroboy (Chaplain) on Nov 13, 2013 at 20:16 UTC
    I receive the same error with Strawberry Perl 5.16.3.1. However, the failures occur in the tests, so I would log a bug against the module

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1062384]
Approved by toolic
Front-paged by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2015-07-03 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (51 votes), past polls