Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Google::Search error

by astroboy (Chaplain)
on Nov 13, 2013 at 20:14 UTC ( #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.


Comment on Re^4: Google::Search error
Re^5: Google::Search error
by ww (Bishop) 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
Node Status?
node history
Node Type: note [id://1062457]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (11)
As of 2014-12-22 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (121 votes), past polls