in reply to Google::Search error

Show the relevant code: how are you using Google::Search?

Replies are listed 'Best First'.
Re^2: Google::Search error
by tallwithblueeyes (Novice) on Nov 13, 2013 at 14:59 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/
      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.
        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.