Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Google::Search error

by astroboy (Chaplain)
on Nov 13, 2013 at 20:14 UTC ( [id://1062457]=note: print w/replies, xml ) Need Help??


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

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.

Replies are listed 'Best First'.
Re^5: Google::Search error
by ww (Archbishop) on Nov 14, 2013 at 11:55 UTC

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

      OP has NOT shown us what is on Ln 9; is Ln 9 the use... statement?"

      ww When is the last time you read the error message?

      overload arg '' is invalid at C:/Perl64/site/lib/Google/Search/Error.p +m line 9

      Hmm, errormessage at filename line linenumber

      Where is the error? Google/Search/Error.pm line 9

      Let see Google/Search/Error.pm line 9

      package Google::Search::Error;
      
      use Any::Moose;
      use Google::Search::Carp;
      
      use overload
          "" => \&reason,
          fallback => 1,
      ;

      Its a typo, I supposed its supposed to be '""'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found