Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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.

Replies are listed 'Best First'.
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/ line 9

      Let see Google/Search/ 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062457]
and dust plays in a shaft of sunlight...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2017-01-18 19:46 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (163 votes). Check out past polls.