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

5483Quickstart demo Use of uninitialized value in pattern match (m//)

Expand Messages
  • redmond007
    Jul 7, 2006
    • 0 Attachment
      I'm trying to run the quickstart demo at

      My hibye.pl looks like

      #!/usr/bin/perl -w

      # -- SOAP::Lite -- guide.soaplite.com -- Copyright (C) 2001 Paul
      Kulchenko --

      use SOAP::Lite;

      print SOAP::Lite
      -> uri('http://server.com/cgi-bin/soaplite/Demo')
      -> proxy('http://server.com/cgi-bin/soaplite/hibye.cgi')
      -> hi()
      -> result;

      -I'm getting a 500 internal server error when I try to run the script.
      hibye.cgi has not been modified except the path to perl.

      My machine is ubuntu dapper drake, with apache2 and SOAP::Lite
      installed. My apache2 error logs look like

      #this gives me the following in my error log
      [Fri Jul 07 16:15:39 2006] [error] [client] Use of
      uninitialized value in pattern match
      (m//) at /usr/local/share/perl/5.8.7/SOAP/Transport/HTTP.pm line 411.
      [Fri Jul 07 16:15:39 2006] [error] [client] Premature end of
      script headers: hibye.pl

      I've tried googling that error, but couldn't find a way to fix it.

      Any advice appreciated.