perl modules not being found

Status
Not open for further replies.

sevets

New Member
Messages
2
Reaction score
0
Points
0
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:
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.
The script I'm trying to test with is:

#!/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";
}
Edit:
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:

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I installed the module server wide, see if it works now.
 
Status
Not open for further replies.
Top