in reply to Re: Google::Search error
in thread Google::Search error

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.

Replies are listed 'Best First'.
Re^3: Google::Search error
by toolic (Bishop) on Nov 13, 2013 at 15:08 UTC
    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/
Re^3: Google::Search error
by Anonymous Monk on Nov 14, 2013 at 12:21 UTC
    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^3: Google::Search error
by ww (Archbishop) on Nov 13, 2013 at 15:08 UTC
    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.
      Recheck *your* premise by reading the post more carefully - the next sentence after the one you selectively quoted is "use Google::Search; is all is takes to throw the error." And indeed, when I try the same thing, I receive the same error.

        When you say you've tried the "same thing" do you mean that you've seen OP's code? Otherwise, that statement is a guess... and a guess doesn't count.

        Two additional points:

        1. use Foo::Bar; is code.
        2. OP has NOT shown us what is on Ln 9; is Ln 9 the use... statement?"