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

Re: SOAP Lite error access faultstring with Google API

Expand Messages
  • Frank McCown
    I forgot to include the complete error message in my previous post: v 0.67: Use of uninitialized value in pattern match (m//) at
    Message 1 of 3 , Sep 28, 2006
      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.

      v. 0.69:

      Use of uninitialized value in pattern match (m//) at
      /home/fmccown/lib/perl5/site_perl/5.8.3/SOAP/Lite.pm line 427.
      Use of uninitialized value in pattern match (m//) at
      /home/fmccown/lib/perl5/site_perl/5.8.3/SOAP/Lite.pm line 427.
      0 >= 0 at test.pl line 13.


      For both versions, the error is on the same line of code:

      sub splitqname { local($1,$2); $_[0] =~ /^(?:([^:]+):)?(.+)$/ ; return
      ($1,$2) }


      Thanks,
      Frank
    • 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 2 of 3 , Oct 16, 2006
        --- 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.