in reply to Re^4: Google::Search error
in thread Google::Search 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?"

Replies are listed 'Best First'.
Re^6: Google::Search error
by Anonymous Monk on Nov 14, 2013 at 12:17 UTC

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