Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Google::Search error

by tallwithblueeyes (Novice)
on Nov 13, 2013 at 14:59 UTC ( [id://1062396]=note: print w/replies, xml ) Need Help??


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?"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1062396]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-19 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found