Loading ...
Sorry, an error occurred while loading the content.

Re: SOAP Lite error access faultstring with Google API

Expand Messages
  • Frank McCown
    ... The example Google Web API code that comes with SOAP::Lite at http://search.cpan.org/src/BYRNE/SOAP-Lite-0.69/examples/google.pl is no longer
    Message 1 of 3 , Oct 16, 2006
    • 0 Attachment
      --- In soaplite@yahoogroups.com, Frank McCown <fmccown@...> wrote:

      >>
      >> I forgot to include the complete error message in my previous post:
      >>
      >> v 0.67:
      >>
      >> Use of uninitialized value in pattern match (m//) at
      >> /home/fmccown/lib/site_perl/5.8.0/SOAP/Lite.pm line 413.
      >> Use of uninitialized value in pattern match (m//) at
      >> /home/fmccown/lib/site_perl/5.8.0/SOAP/Lite.pm line 413.
      >> 0 >= 0 at ./test.pl line 13.

      <snip>

      The example Google Web API code that comes with SOAP::Lite at

      http://search.cpan.org/src/BYRNE/SOAP-Lite-0.69/examples/google.pl

      is no longer functional. The following line:

      die $google->call->faultstring if $google->call->fault;

      should be replaced with:

      die $google->{_call}->faultstring if $google->{_call}->fault;

      Thanks,
      Frank
    Your message has been successfully submitted and would be delivered to recipients shortly.