Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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
[james28909]: thanks
[james28909]: what i am trying to do is track state of a chat based application. i need to be able to store the channels and such for a user, and when they join a new server/channel i need to be able to update that feild.
[james28909]: do you think OO would best suite that?
[karlgoethebier]: james28909: The last two are not mainstream. You have been warned ;-)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (11)
As of 2017-05-25 16:31 GMT
Find Nodes?
    Voting Booth?