http://www.perlmonks.org?node_id=560227


in reply to Re^2: SOAP::Lite Quickstart demo Use of uninitialized value in pattern match (m//)
in thread SOAP::Lite Quickstart demo Use of uninitialized value in pattern match (m//)

one other thing is that the quickstart files also contain a file called 'Demo.pm' - which is in the same directory

package Demo; # -- SOAP::Lite -- guide.soaplite.com -- Copyright (C) 2001 Paul Kulch +enko -- sub hi { return "hello, world"; } sub bye { return "goodbye, cruel world"; } sub languages { return ("Perl", "C", "sh"); } 1;
so if hibye.pl's uri parameter is looking for a .pm called 'Demo' in the soaplite directory, it is there.
  • Comment on Re^3: SOAP::Lite Quickstart demo Use of uninitialized value in pattern match (m//)
  • Download Code

Replies are listed 'Best First'.
Re^4: SOAP::Lite Quickstart demo Use of uninitialized value in pattern match (m//)
by philosophia (Sexton) on Jul 10, 2006 at 21:02 UTC
    I fixed it, thanks for the debugging advice.

    the uri line was wrong. it should look like
    #!/usr/bin/perl -w # -- SOAP::Lite -- guide.soaplite.com -- Copyright (C) 2001 Paul Kulch +enko -- use SOAP::Lite; #use SOAP::Lite +trace => [qw/ debug method fault /]; print SOAP::Lite -> uri('http://tangerine.uchicago.edu/Demo') -> proxy('http://tangerine.uchicago.edu/cgi-bin/soaplite/hibye.cgi') -> hi() -> result;