Hi,
I'm new here and probably missing something simple.
I've installed the SOAP:Transport:HTTP module from the cPanel. I've written a test script that adds my perl directory to the library path. However, I'm still getting an error message saying that the module can't be located.
Your help would be greatly appreciated. Thanks!
The error message returned it:
Another thing I'm now noticing that may help...
In the file manager, when I click on the perl/ folder, it shows "no records found".
In the perl module installer, it shows that SOAP::Lite is installed.
When I try installing SOAP::Transport::HTTP (again, just to be sure) the terminal window tells me that SOAP::Transport::HTTP is up-to-date.
I'm new here and probably missing something simple.
I've installed the SOAP:Transport:HTTP module from the cPanel. I've written a test script that adds my perl directory to the library path. However, I'm still getting an error message saying that the module can't be located.
Your help would be greatly appreciated. Thanks!
The error message returned it:
The script I'm trying to test with is:Can't locate SOAP/Transport/HTTP.pm in @INC (@INC contains: /home/sevets/perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl .) at soaptest line 8.
BEGIN failed--compilation aborted at soaptest line 8.
Edit:
#!/usr/bin/perl -w
use CGI;
use CGI::Carp qw(fatalsToBrowser);
use lib '/home/sevets/perl';
use SOAP::Transport::HTTP;
print "Context-type: text/html\n\n";
SOAP::Transport::HTTP::CGI
-> dispatch_to('Demo')
-> handle;
package Demo;
sub hi {
return "hello, world";
}
sub bye {
return "goodbye, cruel world";
}
Another thing I'm now noticing that may help...
In the file manager, when I click on the perl/ folder, it shows "no records found".
In the perl module installer, it shows that SOAP::Lite is installed.
When I try installing SOAP::Transport::HTTP (again, just to be sure) the terminal window tells me that SOAP::Transport::HTTP is up-to-date.
Last edited: