Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

SOAP and Perl 12

by Generoso (Parson)
on Oct 20, 2011 at 22:47 UTC ( #932776=perlquestion: print w/replies, xml ) Need Help??
Generoso has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, I am tring to run a SOAP example that was working a couple of years ago in perl 5.8

Now I have perl

This is perl 5, version 12, subversion 4 (v5.12.4) built for MSWin32-x86-multi-thread

#!perl -w use SOAP::Transport::HTTP; SOAP::Transport::HTTP::CGI -> dispatch_to('Temperatures') -> handle; package Temperatures; sub f2c { my ($class, $f) = @_; return 5 / 9 * ($f - 32); } sub c2f { my ($class, $c) = @_; return 32 + $c * 9 / 5; }

But I am getting the follwoing error:

Process started >>>
Can't locate Class/ in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/site/lib/SOAP/ line 435.
BEGIN failed--compilation aborted at C:/Perl/site/lib/SOAP/ line 435.
Compilation failed in require at C:/Perl/site/lib/SOAP/Transport/ line 17.
BEGIN failed--compilation aborted at C:/Perl/site/lib/SOAP/Transport/ line 17.
Compilation failed in require at F:\PerlSOAP\ line 3.
BEGIN failed--compilation aborted at F:\PerlSOAP\ line 3.
<<< Process finished.

Can some one help me resolve this error. Thank you.
aditional information line 17 use SOAP::Lite; line 435 use Class::Inspector;

Replies are listed 'Best First'.
Re: SOAP and Perl 12
by Anonymous Monk on Oct 20, 2011 at 23:02 UTC


    It looks like you need to install Class::Inspector. Check for it in your Perl installation and check the directories in your @INC.


      I was blind, Thank you, that fix it

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://932776]
Approved by toolic
Front-paged by toolic
beech *me* ... test
[beech]: ...
beech me *me* ... test me *me* test
[beech]: me
[beech]: ... test

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-03-28 23:44 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (343 votes). Check out past polls.